summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-25 22:16:26 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-25 22:16:26 +0200
commitf993dba889d525bb2cd54fcf60a9130ac398f3d7 (patch)
tree7c7489b4bba4e19ce2a202687d31397807fe208a
parentb82dcef50aed677052c37ce852b32b2aacba1836 (diff)
Experimentally static link with libpng for lv2 plugin.
-rw-r--r--lv2/Makefile.am2
-rw-r--r--plugingui/Makefile.am.plugingui2
2 files changed, 2 insertions, 2 deletions
diff --git a/lv2/Makefile.am b/lv2/Makefile.am
index ff543b6..d3c722b 100644
--- a/lv2/Makefile.am
+++ b/lv2/Makefile.am
@@ -29,7 +29,7 @@ drumgizmo_la_SOURCES = \
input_lv2.cc \
output_lv2.cc
-drumgizmo_la_LDFLAGS = -module -avoid-version
+drumgizmo_la_LDFLAGS = -module -avoid-version -Wl,-Bstatic,-lpng,-Bdynamic
drumgizmo_la_LIBADD = $(LV2_LIBS) $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS)
endif
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index cf7f346..1913467 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -31,6 +31,6 @@ PLUGIN_GUI_SOURCES = \
$(top_srcdir)/plugingui/resource.cc \
$(top_srcdir)/plugingui/resource_data.cc
-PLUGIN_GUI_LIBS = $(X11_LIBS) $(PNG_LIBS) $(PTHREAD_LIBS)
+PLUGIN_GUI_LIBS = $(X11_LIBS) $(PTHREAD_LIBS)
PLUGIN_GUI_CFLAGS = $(X11_CFLAGS) $(PNG_CFLAGS) -I$(top_srcdir)/hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX $(PTHREAD_CFLAGS)