updating build script

This commit is contained in:
Peter Li 2025-04-09 21:42:56 -07:00
parent 2f4c97b47a
commit ba73ad5b1c
1 changed files with 9 additions and 0 deletions

View File

@ -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)