Mercurial > audlegacy
changeset 4487:171e3b90d718
Fix libeggsmclient compilation under the new configure.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Apr 2008 07:31:27 +0300 |
parents | 042eaca39ded |
children | 8936675274ba |
files | src/libeggsmclient/Makefile src/libeggsmclient/eggsmclient-xsmp.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libeggsmclient/Makefile Mon Apr 21 07:30:57 2008 +0300 +++ b/src/libeggsmclient/Makefile Mon Apr 21 07:31:27 2008 +0300 @@ -5,8 +5,8 @@ else platform_sources = eggsmclient-xsmp.c \ eggdesktopfile.c -platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP -platform_libs = -lSM -lICE +platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP ${SM_CFLAGS} +platform_libs = ${SM_LIBS} endif STATIC_LIB_NOINST = libeggsmclient.a @@ -17,6 +17,6 @@ include ../../buildsys.mk include ../../extra.mk -CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I. ${platform_defines} +CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I../.. -I. ${platform_defines} LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs} CPPFLAGS += ${CFLAGS}
--- a/src/libeggsmclient/eggsmclient-xsmp.c Mon Apr 21 07:30:57 2008 +0300 +++ b/src/libeggsmclient/eggsmclient-xsmp.c Mon Apr 21 07:31:27 2008 +0300 @@ -21,7 +21,7 @@ * Boston, MA 02111-1307, USA. */ -#include "../../config.h" +#include "config.h" #include "eggsmclient.h" #include "eggsmclient-private.h"