$OpenBSD: patch-modules_audio_output_Makefile_in,v 1.6 2009/01/16 04:11:18 jakemsr Exp $ --- modules/audio_output/Makefile.in.orig Tue Jul 8 17:35:44 2008 +++ modules/audio_output/Makefile.in Tue Dec 30 03:57:22 2008 @@ -2069,7 +2069,7 @@ all-modules: # Build a plugin with the adequate linker and linker's flags _plugin.a_plugin$(LIBEXT): - @mod="$*" ; mod=$${mod#lib} ; ldfl="`$(VLC_CONFIG) --libs plugin $$mod` $(LIBADD) -u $(SYMPREF)$(VLC_ENTRY)" ; case `$(VLC_CONFIG) --linkage $$mod` in \ + @mod="$*" ; mod=$${mod#lib} ; ldfl="`$(VLC_CONFIG) --libs plugin $$mod` $(LIBADD) $($*_plugin_la_EXTRALIBS) -u $(SYMPREF)$(VLC_ENTRY)" ; case `$(VLC_CONFIG) --linkage $$mod` in \ c++) ld="$(CXXLINK)" ;; objc) ld="$(OBJCLINK)" ;; c|*) ld="$(LINK)" ;; esac ; echo $$ld $< $$ldfl ; $$ld $< $$ldfl #ifneq (,$(findstring cygwin,$(host))) # mv -f "$@.exe" "$@"