aboutsummaryrefslogtreecommitdiff
path: root/ports/libsigcpp/dont-import-symbols.patch
diff options
context:
space:
mode:
authorcodicodi <rob.ceglinski@gmail.com>2017-01-10 12:04:17 +0100
committerGitHub <noreply@github.com>2017-01-10 12:04:17 +0100
commitdf3c619b69dc5fbdbb686d01a5db6e4097f9ca61 (patch)
treeee330f3047b23958145b308b2c8e0e4d0733726b /ports/libsigcpp/dont-import-symbols.patch
parentb280f57002044036c1c3c9a446c06e8e0a34fb00 (diff)
downloadvcpkg-df3c619b69dc5fbdbb686d01a5db6e4097f9ca61.tar.gz
vcpkg-df3c619b69dc5fbdbb686d01a5db6e4097f9ca61.zip
add libsigcpp
Diffstat (limited to 'ports/libsigcpp/dont-import-symbols.patch')
-rw-r--r--ports/libsigcpp/dont-import-symbols.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libsigcpp/dont-import-symbols.patch b/ports/libsigcpp/dont-import-symbols.patch
new file mode 100644
index 000000000..b031d3baf
--- /dev/null
+++ b/ports/libsigcpp/dont-import-symbols.patch
@@ -0,0 +1,13 @@
+diff --git a/sigc++config.h b/sigc++config.h
+index e212700..8d7366e 100644
+--- a/sigc++config.h
++++ b/sigc++config.h
+@@ -72,6 +72,8 @@
+
+ #endif /* !SIGC_MSC */
+
++#undef SIGC_DLL
++
+ #ifdef SIGC_DLL
+ # if defined(SIGC_BUILD) && defined(_WINDLL)
+ # define SIGC_API __declspec(dllexport)