Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > b0f7d2c796fc85196e75f60f6883b9fd > files > 6

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

--- openal-0.0.8/src/Makefile.am.pthread	2009-04-11 07:49:38.000000000 +0200
+++ openal-0.0.8/src/Makefile.am	2009-04-11 07:49:38.000000000 +0200
@@ -215,8 +215,8 @@
 
 # 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)