ports/x11/vlc/patches/patch-compat_Makefile_am

17 lines
463 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Trying to link a static archive with non-PIC objects to
plugins is not portable.
Index: compat/Makefile.am
--- compat/Makefile.am.orig
+++ compat/Makefile.am
@@ -1,7 +1,7 @@
-pkglib_LTLIBRARIES = libcompat.la
+noinst_LTLIBRARIES = libcompat.la
libcompat_la_SOURCES = dummy.c
libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT) $(LIBM)
-libcompat_la_LDFLAGS = -no-undefined -static
+libcompat_la_LDFLAGS = -no-undefined
BUILT_SOURCES = dummy.c
CLEANFILES = dummy.c