aboutsummaryrefslogtreecommitdiff
path: root/libtopmenu-client
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-08-24 20:38:21 +0200
committerJavier <dev.git@javispedro.com>2016-08-24 20:38:21 +0200
commitf1100d62e2d6e3969a7f80ee532bd5d856c2ccc6 (patch)
treef5f4ddf2e902b284d1b1efc6cdd337c4154b23dc /libtopmenu-client
parent075893f73fdfb969b85e281eb303a1f697434cb3 (diff)
downloadtopmenu-gtk-f1100d62e2d6e3969a7f80ee532bd5d856c2ccc6.tar.gz
topmenu-gtk-f1100d62e2d6e3969a7f80ee532bd5d856c2ccc6.zip
Fix linking against X11
Diffstat (limited to 'libtopmenu-client')
-rw-r--r--libtopmenu-client/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtopmenu-client/Makefile.am b/libtopmenu-client/Makefile.am
index f4f8b6f..af6dda8 100644
--- a/libtopmenu-client/Makefile.am
+++ b/libtopmenu-client/Makefile.am
@@ -4,8 +4,8 @@ lib_LTLIBRARIES = libtopmenu-client-gtk3.la
libtopmenu_client_gtk3_la_SOURCES = topmenu-client.c topmenu-client.h \
topmenu-monitor.c topmenu-monitor.h \
topmenu-appmenubar.c topmenu-appmenubar.h
-libtopmenu_client_gtk3_la_CPPFLAGS = $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\"
-libtopmenu_client_gtk3_la_LIBADD = $(GTK_LIBS)
+libtopmenu_client_gtk3_la_CPPFLAGS = $(X11_CFLAGS) $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\"
+libtopmenu_client_gtk3_la_LIBADD = $(X11_LIBS) $(GTK_LIBS)
else
@@ -13,8 +13,8 @@ lib_LTLIBRARIES = libtopmenu-client-gtk2.la
libtopmenu_client_gtk2_la_SOURCES = topmenu-client.c topmenu-client.h \
topmenu-monitor.c topmenu-monitor.h \
topmenu-appmenubar.c topmenu-appmenubar.h
-libtopmenu_client_gtk2_la_CPPFLAGS = $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\"
-libtopmenu_client_gtk2_la_LIBADD = $(GTK_LIBS)
+libtopmenu_client_gtk2_la_CPPFLAGS = $(X11_CFLAGS) $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\"
+libtopmenu_client_gtk2_la_LIBADD = $(X11_LIBS) $(GTK_LIBS)
endif