updating build script
This commit is contained in:
parent
2f4c97b47a
commit
ba73ad5b1c
|
|
@ -30,6 +30,15 @@ WORKING_DIR = os.path.join(origDir, "build_temp")
|
||||||
os.makedirs(WORKING_DIR, exist_ok=True)
|
os.makedirs(WORKING_DIR, exist_ok=True)
|
||||||
|
|
||||||
BIN_INSTALL_DIR = os.path.join(origDir, 'bin')
|
BIN_INSTALL_DIR = os.path.join(origDir, 'bin')
|
||||||
|
|
||||||
|
from sys import platform
|
||||||
|
if platform == "linux" or platform == "linux2":
|
||||||
|
BIN_INSTALL_DIR = os.path.join(BIN_INSTALL_DIR, 'linux')
|
||||||
|
elif platform == "darwin":
|
||||||
|
BIN_INSTALL_DIR = os.path.join(BIN_INSTALL_DIR, 'osx')
|
||||||
|
elif platform == "win32":
|
||||||
|
BIN_INSTALL_DIR = os.path.join(BIN_INSTALL_DIR, 'win64')
|
||||||
|
|
||||||
LIB_INSTALL_DIR = BIN_INSTALL_DIR #os.path.join(origDir, 'lib')
|
LIB_INSTALL_DIR = BIN_INSTALL_DIR #os.path.join(origDir, 'lib')
|
||||||
|
|
||||||
os.makedirs(BIN_INSTALL_DIR, exist_ok=True)
|
os.makedirs(BIN_INSTALL_DIR, exist_ok=True)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue