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")
if env["platform"] == "linux":
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
sharedlib = env.SharedLibrary(libpath, src)
pass
elif env["platform"] == "windows":
pass
elif env["platform"] == "android":
pass
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
sharedlib = env.SharedLibrary(libpath, src)
Default(sharedlib)