--- 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)