openbsd-ports/x11/vlc/patches/patch-compat_Makefile_am
ajacoutot 2182828e54 Update to vlc-2.2.1.
from brad (maintainer)
2015-05-24 07:16:31 +00:00

18 lines
548 B
Plaintext

$OpenBSD: patch-compat_Makefile_am,v 1.1 2015/05/24 07:16:31 ajacoutot Exp $
Trying to link a static archive with non-PIC objects to
plugins is not portable.
--- compat/Makefile.am.orig Sat Jun 14 11:14:12 2014
+++ compat/Makefile.am Sat May 9 09:54:59 2015
@@ -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