summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/LibMiniUPnPc/SConscript1
-rw-r--r--3rdParty/LibNATPMP/SConscript1
2 files changed, 2 insertions, 0 deletions
diff --git a/3rdParty/LibMiniUPnPc/SConscript b/3rdParty/LibMiniUPnPc/SConscript
index be9910c..c482109 100644
--- a/3rdParty/LibMiniUPnPc/SConscript
+++ b/3rdParty/LibMiniUPnPc/SConscript
@@ -11,6 +11,7 @@ if env.get("LIBMINIUPNPC_BUNDLED", False) :
"CPPPATH": [Dir("src/miniupnpc")],
"LIBPATH": [Dir(".")],
"LIBS": ["Swiften_MiniUPnPc"],
+ "INTERNAL_CPPDEFINES": ["STATICLIB"],
}
#if env["PLATFORM"] == "win32" :
# env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]
diff --git a/3rdParty/LibNATPMP/SConscript b/3rdParty/LibNATPMP/SConscript
index 60e59a0..2cf745a 100644
--- a/3rdParty/LibNATPMP/SConscript
+++ b/3rdParty/LibNATPMP/SConscript
@@ -11,6 +11,7 @@ if env.get("LIBNATPMP_BUNDLED", False) :
"CPPPATH": [Dir("src/libnatpmp")],
"LIBPATH": [Dir(".")],
"LIBS": ["Swiften_NATPMP"],
+ "INTERNAL_CPPDEFINES": ["STATICLIB"],
}
#if env["PLATFORM"] == "win32" :
# env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]