summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am.plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/Makefile.am.plugingui')
-rw-r--r--plugingui/Makefile.am.plugingui4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index 84f1979..09ac9a4 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -41,6 +41,6 @@ PLUGIN_GUI_SOURCES = \
$(top_srcdir)/plugingui/png/pngrio.c \
$(top_srcdir)/plugingui/png/pngrtran.c
-PLUGIN_GUI_LIBS = $(X11_LIBS) $(PTHREAD_LIBS) -lz
+PLUGIN_GUI_LIBS = $(X11_LIBS) $(PTHREAD_LIBS) $(PNG_CFLAGS) $(ZLIB_LIBS)
-PLUGIN_GUI_CFLAGS = $(X11_CFLAGS) $(PNG_CFLAGS) -I$(top_srcdir)/hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX $(PTHREAD_CFLAGS)
+PLUGIN_GUI_CFLAGS = $(X11_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS) -I$(top_srcdir)/hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX $(PTHREAD_CFLAGS)