Files
pkgsrc-ng/multimedia/vlc/patches/patch-compat_Makefile.am
2016-11-18 22:39:22 +01:00

26 lines
929 B
Plaintext

$NetBSD: patch-compat_Makefile.am,v 1.1 2015/10/25 11:00:18 wiz Exp $
Revert upstream commit 78d45cc159a0cf1c44feef11a2b9800d9398048e by
Rémi Denis-Courmont <remi@remlab.net>. Mail asking for that to
be applied upstream was turned down:
The goal is and always was to link the compat library statically into the
VLC plugins. If your OS cannot import symbols from a static library into a
dynamic library, then you are screwed and I cannot help you with that. If
it theoretically can, but libtool fails anyway, then I cannot help you with
that either.
--- compat/Makefile.am.orig 2014-06-14 15:14:12.000000000 +0000
+++ compat/Makefile.am
@@ -1,7 +1,7 @@
-pkglib_LTLIBRARIES = libcompat.la
+noinst_LTLIBRARIES = libcompat.la
libcompat_la_SOURCES = dummy.c
libcompat_la_LIBADD = $(LTLIBOBJS)
-libcompat_la_LDFLAGS = -no-undefined -static
+libcompat_la_LDFLAGS = -no-undefined
BUILT_SOURCES = dummy.c
CLEANFILES = dummy.c