[xiph-commits] r16711 - trunk/theora/lib

msmith at svn.xiph.org msmith at svn.xiph.org
Mon Nov 16 11:41:20 PST 2009


Author: msmith
Date: 2009-11-16 11:41:19 -0800 (Mon, 16 Nov 2009)
New Revision: 16711

Modified:
   trunk/theora/lib/Makefile.am
Log:
Make libtool use -no-undefined for our libs, otherwise it doesn't build
shared libraries on some platforms.


Modified: trunk/theora/lib/Makefile.am
===================================================================
--- trunk/theora/lib/Makefile.am	2009-11-15 23:02:31 UTC (rev 16710)
+++ trunk/theora/lib/Makefile.am	2009-11-16 19:41:19 UTC (rev 16711)
@@ -145,14 +145,16 @@
 	Version_script-dec theoradec.exp
 libtheoradec_la_LDFLAGS = \
   -version-info @THDEC_LIB_CURRENT@:@THDEC_LIB_REVISION@:@THDEC_LIB_AGE@ \
-  @THEORADEC_LDFLAGS@ @CAIRO_LIBS@
+  @THEORADEC_LDFLAGS@ @CAIRO_LIBS@ \
+  -no-undefined
 
 libtheoraenc_la_SOURCES = \
 	$(encoder_sources) \
 	Version_script-enc theoraenc.exp
 libtheoraenc_la_LDFLAGS = \
   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
-  @THEORAENC_LDFLAGS@ $(OGG_LIBS)
+  @THEORAENC_LDFLAGS@ $(OGG_LIBS) \
+  -no-undefined
 
 libtheora_la_SOURCES = \
 	$(decoder_sources) \
@@ -160,7 +162,8 @@
 	Version_script theora.exp
 libtheora_la_LDFLAGS = \
   -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ \
-  @THEORA_LDFLAGS@ @CAIRO_LIBS@ $(OGG_LIBS)
+  @THEORA_LDFLAGS@ @CAIRO_LIBS@ $(OGG_LIBS) \
+  -no-undefined
 
 debug:
 	$(MAKE) all CFLAGS="@DEBUG@" 



More information about the commits mailing list