summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/LibNATPMP')
-rw-r--r--3rdParty/LibNATPMP/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/3rdParty/LibNATPMP/SConscript b/3rdParty/LibNATPMP/SConscript
index 2cf745a..98767fb 100644
--- a/3rdParty/LibNATPMP/SConscript
+++ b/3rdParty/LibNATPMP/SConscript
@@ -10,7 +10,6 @@ if env.get("LIBNATPMP_BUNDLED", False) :
env["LIBNATPMP_FLAGS"] = {
"CPPPATH": [Dir("src/libnatpmp")],
"LIBPATH": [Dir(".")],
- "LIBS": ["Swiften_NATPMP"],
"INTERNAL_CPPDEFINES": ["STATICLIB"],
}
#if env["PLATFORM"] == "win32" :
@@ -48,4 +47,4 @@ if env.get("LIBNATPMP_BUNDLED", False) :
if myenv["PLATFORM"] == "win32":
src_files += ["src/libnatpmp/wingettimeofday.c"]
- myenv.StaticLibrary("Swiften_NATPMP", src_files)
+ env["LIBNATPMP_OBJECTS"] = myenv.StaticObject(src_files)