This commit is contained in:
2025-05-19 14:01:32 -04:00
parent 89faad3602
commit f229424df4
65 changed files with 25036 additions and 33 deletions

View File

@ -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"]

View File

@ -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"]