diff options
Diffstat (limited to 'Sluift')
-rw-r--r-- | Sluift/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Sluift/SConscript b/Sluift/SConscript index a8d985e..74b266c 100644 --- a/Sluift/SConscript +++ b/Sluift/SConscript @@ -11,6 +11,8 @@ if env["SCONS_STAGE"] == "build" : myenv.Append(CPPDEFINES = ["SLUIFT_BUILD_DLL"]) elif myenv["PLATFORM"] == "darwin" : myenv["SHLIBSUFFIX"] = ".so" + elif myenv["PLATFORM"] == "posix" : + myenv.Append(CCFLAGS = ["-fPIC"]) myenv.SharedLibrary("sluift", [ "sluift.cpp", ]) |