[beast/win32] Add -no-undefined where necessary, other Makefile fixes.



commit 6dccb0e480a3fbc49f53d01d321763a34c8b4d6f
Author: Stefan Westerfeld <stefan space twc de>
Date:   Sat Sep 5 09:47:23 2009 +0200

    Add -no-undefined where necessary, other Makefile fixes.
    
    Based on 010_plugin_ext_crawler.diff.

 plugins/Makefile.am          |   14 +++++++++-----
 plugins/freeverb/Makefile.am |    2 +-
 2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 67aec6b..0c97aa5 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -59,18 +59,22 @@ EXTRA_DIST += $(strip \
 )
 
 # === plugin build rule setup ===
-plugins_ldflags 	  = -avoid-version
-plugins_libs    	  = $(top_builddir)/bse/libbse.la $(BSE_LIBS) -lm
-plugins_built_sources 	  = 	# listed in Makefile.plugins
+plugins_ldflags 	  = -avoid-version -no-undefined
+plugins_libs    	  = $(top_builddir)/bse/libbse.la $(top_builddir)/sfi/libsfi.la \
+                            $(top_builddir)/birnet/libbirnet.la $(BSE_LIBS) -lm
+# listed in Makefile.plugins:
+plugins_built_sources 	  = 	
 CLEANFILES 		 += $(plugins_built_sources)
 # .FPU plugins
-plugin_FPU_ltlibs	  =	# listed in Makefile.plugins
+# listed in Makefile.plugins:
+plugin_FPU_ltlibs	  =
 plugin_FPU_LTLIBRARIES	  = $(plugin_FPU_ltlibs)
 plugin_FPUdir 	  	  = $(bseplugindir)
 FPU_PLUGIN_CFLAGS	  = $(AM_CFLAGS) $(PLUGIN_FLAGS) $(FPU_FLAGS)
 FPU_PLUGIN_CXXFLAGS	  = $(AM_CXXFLAGS) $(PLUGIN_FLAGS) $(FPU_FLAGS)
 # .SSE plugins
-plugin_SSE_ltlibs	  =	# listed in Makefile.plugins
+# listed in Makefile.plugins:
+plugin_SSE_ltlibs	  =
 plugin_SSE_LTLIBRARIES	  = $(plugin_SSE_cond_libs)
 plugin_SSEdir		  = $(bseplugindir)
 SSE_PLUGIN_CFLAGS	  = $(AM_CFLAGS) $(PLUGIN_FLAGS) $(SSE_FLAGS)
diff --git a/plugins/freeverb/Makefile.am b/plugins/freeverb/Makefile.am
index ef9f81e..852500c 100644
--- a/plugins/freeverb/Makefile.am
+++ b/plugins/freeverb/Makefile.am
@@ -10,7 +10,7 @@ INCLUDES += -I$(top_srcdir) -I. $(BSE_CFLAGS) $(CFLAGS) -DG_LOG_DOMAIN="\"$(stri
 plugindir = $(bseplugindir)
 
 freeverb_la_SOURCES = allpass.cpp comb.cpp revmodel.cpp bsefreeverbcpp.cpp bsefreeverb.c
-freeverb_la_LDFLAGS = -module -avoid-version
+freeverb_la_LDFLAGS = -module -avoid-version -no-undefined
 freeverb_la_LIBADD  = $(top_builddir)/bse/libbse.la $(BSE_LIBS) -lm
 
 plugin_LTLIBRARIES = freeverb.la



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]