From cc4e44e8376f5b76cb23f8cd642f32e0e41b9150 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 22 May 2011 17:42:34 +0200 Subject: Link libraries directly to compile on some systems (debian). If program (A) is linked to library (B) which is linked to library (C), then A must also link C directly in order to use things from it directly. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index c3feae6c..f59d3e7e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -170,6 +170,8 @@ openbox_openbox_CPPFLAGS = \ -DCONFIGDIR=\"$(configdir)\" \ -DG_LOG_DOMAIN=\"Openbox\" openbox_openbox_LDADD = \ + $(XINERAMA_LIBS) \ + $(XRANDR_LIBS) \ $(SM_LIBS) \ $(GLIB_LIBS) \ $(X_LIBS) \ @@ -321,9 +323,11 @@ tools_obxprop_obxprop_SOURCES = \ ## gdm-control ## tools_gdm_control_gdm_control_CPPFLAGS = \ + $(XAUTH_CFLAGS) \ $(X_CFLAGS) \ $(GLIB_CFLAGS) tools_gdm_control_gdm_control_LDADD = \ + $(XAUTH_LIBS) \ $(X_LIBS) \ $(GLIB_LIBS) tools_gdm_control_gdm_control_SOURCES = \ -- cgit v1.2.3