fixes license file and adds specific build option to linux

pull/1/head
Moisés Guimarães 2017-12-12 11:40:24 -03:00
parent 75da51264d
commit d191bcffea
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Licensing
---------
wolfSSLs software is available under two distinct licensing models:
wolfSSL's software is available under two distinct licensing models:
open source and standard commercial licensing. Please see the relevant
section below for information on each type of license.

View File

@ -22,6 +22,7 @@
import os
import subprocess
from contextlib import contextmanager
from distutils.util import get_platform
def local_path(path):
@ -105,8 +106,8 @@ def make_flags(prefix):
"""
flags = []
# extra CC flags
flags.append("CFLAGS=-fpic")
if get_platform() in ["linux-x86_64", "linux-i686"]:
flags.append("CFLAGS=-fpic")
# install location
flags.append("--prefix={}".format(prefix))