aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libdvdnav/no-undefined.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libdvdnav/no-undefined.diff')
-rw-r--r--vcpkg/ports/libdvdnav/no-undefined.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/libdvdnav/no-undefined.diff b/vcpkg/ports/libdvdnav/no-undefined.diff
new file mode 100644
index 0000000..8505c6b
--- /dev/null
+++ b/vcpkg/ports/libdvdnav/no-undefined.diff
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 595378b..516f26e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -118,6 +118,7 @@ dnl
+ dnl This should be after all checks
+ dnl ---------------------------------------------
+ AS_CASE([$host_os],
++ [*mingw32*], LDFLAGS="-no-undefined $LDFLAGS",
+ [os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
+
+ dnl ---------------------------------------------