From f993dba889d525bb2cd54fcf60a9130ac398f3d7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 25 May 2013 22:16:26 +0200 Subject: Experimentally static link with libpng for lv2 plugin. --- lv2/Makefile.am | 2 +- plugingui/Makefile.am.plugingui | 2 +- 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) -- cgit v1.2.3