fixed install
This commit is contained in:
@ -8,7 +8,7 @@ from shutil import copytree
|
||||
from amsbuildlib4 import *
|
||||
|
||||
libname = "amsmathutil25.mingw64" #static library name to generate
|
||||
binname = "tests" #create this executable when compiling main.c or main.cpp
|
||||
binname = "tests.exe" #create this executable when compiling main.c or main.cpp
|
||||
commondir = "../../winx64" #common directory to pul libraries and includes from
|
||||
depdir = "./dependencies/winx64" #local pre-compiled dependency libraries and their includes
|
||||
installdir = "../../winx64" #directory to install to when finished
|
||||
@ -16,7 +16,7 @@ builddir = "./build_mingw64"
|
||||
|
||||
doinstall = False #copies the build_output to the install dir when finished
|
||||
cc = "x86_64-w64-mingw32-g++" #compiler
|
||||
cflags = "-fPIC -O3"
|
||||
cflags = "-fPIC -O3 -std=c++17"
|
||||
libraries = "-l{}".format(libname)
|
||||
libdirs = "-L{} -L{}/lib -L{}/lib".format(builddir,commondir,depdir)
|
||||
linkerflags = "-static -static-libgcc -Wl,-rpath=."
|
||||
|
Reference in New Issue
Block a user