updates
This commit is contained in:
@ -16,8 +16,8 @@ builddir = "./build_linux64"
|
||||
|
||||
doinstall = True #copies the build_output to the install dir when finished
|
||||
cc = "gcc" #compiler
|
||||
cflags = "-fPIC -O3 -DEXPORT_TEMPLATEDLL"
|
||||
libraries = "-l{}".format(libname)
|
||||
cflags = "-fPIC -O3 -DEXPORT_AMSCIMGLIB4"
|
||||
libraries = "-l{} -ljpeg -lpng -lz -lm".format(libname)
|
||||
libdirs = "-L{} -L{}/lib -L{}/lib".format(builddir,commondir,depdir)
|
||||
linkerflags = "-shared -Wl,-rpath=. -Wl,--out-implib={}/lib{}.a".format(builddir,libname)
|
||||
srcexts = [".c",".cpp"]
|
||||
|
@ -16,8 +16,8 @@ builddir = "./build_mingw64"
|
||||
|
||||
doinstall = False #copies the build_output to the install dir when finished
|
||||
cc = "x86_64-w64-mingw32-gcc" #compiler
|
||||
cflags = "-fPIC -O3 -DEXPORT_TEMPLATEDLL"
|
||||
libraries = "-l{}".format(libname)
|
||||
cflags = "-fPIC -O3 -DEXPORT_AMSCIMGLIB4"
|
||||
libraries = "-l{} -ljpeg -lpng -lz -lm".format(libname)
|
||||
libdirs = "-L{} -L{}/lib -L{}/lib".format(builddir,commondir,depdir)
|
||||
linkerflags = "-shared -Wl,-rpath=. -Wl,--out-implib={}/lib{}.a".format(builddir,libname)
|
||||
srcexts = [".c",".cpp"]
|
||||
|
Reference in New Issue
Block a user