Use the same structure for the libraries

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
Somebody Master 2023-02-17 00:08:59 +01:00
parent de3d041e77
commit a617fce3a3
Signed by: somebody_master
GPG Key ID: 78315CFDF0B25505

View File

@ -5,11 +5,12 @@ env.Append(CPPPATH="src/")
src = Glob("src/*.cpp") src = Glob("src/*.cpp")
if env["platform"] == "linux": if env["platform"] == "linux":
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] ) pass
sharedlib = env.SharedLibrary(libpath, src)
elif env["platform"] == "windows": elif env["platform"] == "windows":
pass pass
elif env["platform"] == "android": elif env["platform"] == "android":
pass pass
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
sharedlib = env.SharedLibrary(libpath, src)
Default(sharedlib) Default(sharedlib)