SHA256
1
0
forked from pool/orc
orc/orc-asneeded.patch
OBS User autobuild 0349dac426 Accepting request 36732 from multimedia:libs
Copy from multimedia:libs/orc based on submit request 36732 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/36732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orc?expand=0&rev=1
2010-04-07 23:09:47 +00:00

19 lines
683 B
Diff

Author: Dominique Leuenberger <dimstar [at] opensuse [dot] org
Fix build of orc with -Wl,--as-needed. _LIBS is not a defined
libtool variable and as such does not work.
Index: orc-0.4.3/orc/Makefile.am
===================================================================
--- orc-0.4.3.orig/orc/Makefile.am
+++ orc-0.4.3/orc/Makefile.am
@@ -3,7 +3,7 @@ pkgincludedir = $(includedir)/orc-@ORC_M
lib_LTLIBRARIES = liborc-@ORC_MAJORMINOR@.la
-liborc_@ORC_MAJORMINOR@_la_LIBS = $(ORC_LIBS)
+liborc_@ORC_MAJORMINOR@_la_LIBADD = $(LIBM) $(LIBRT)
liborc_@ORC_MAJORMINOR@_la_LDFLAGS = \
-no-undefined -export-symbols-regex 'orc_'
liborc_@ORC_MAJORMINOR@_la_CFLAGS = $(ORC_CFLAGS) \