Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > 196b60bacf2ccc6b2e9cf1075c6125fe > files > 4

openal-0.0.8-10mdv2009.0.src.rpm

diff -Naur openal-0.0.8/src/Makefile.am openal-0.0.8.tpg/src/Makefile.am
--- openal-0.0.8/src/Makefile.am	2006-01-19 20:58:50.000000000 +0000
+++ openal-0.0.8.tpg/src/Makefile.am	2007-10-23 14:19:43.000000000 +0000
@@ -214,9 +214,9 @@
 libopenal_la_CFLAGS = $(WARNINGCFLAGS) $(OPTIMIZATIONCFLAGS) $(FEATURECFLAGS)
 
 # The -no-undefined flag is neccessary for building DLLs on Windows.
-libopenal_la_LDFLAGS = -no-undefined $(PROFILINGLDFLAGS)
+libopenal_la_LDFLAGS = -no-undefined -Wl, --no-undefinied $(PROFILINGLDFLAGS)
 
 # We use sin and friends, so we might need -lm, autoconf takes care of this.
-libopenal_la_LIBADD = $(LIBM) $(asm_ldadd)
+libopenal_la_LIBADD = $(LIBM) $(asm_ldadd) -lpthread
 
 SUBDIRS = $(X86_SUBDIR)