From 5b24b701c09665c3fadd8f42232616a395130442 Mon Sep 17 00:00:00 2001 From: Gabriele Svelto Date: Wed, 11 Apr 2012 11:43:38 +0200 Subject: Define the XS_PREFIX_PATH macro with the installation prefix Signed-off-by: Gabriele Svelto --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 3c260be..81ece53 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -144,10 +144,11 @@ else libxs_la_LDFLAGS = -version-info @LIBXS_ABI_VERSION@ @LIBXS_EXTRA_LDFLAGS@ endif +libxs_la_CPPFLAGS = -DXS_PREFIX_PATH='"$(prefix)"' libxs_la_CXXFLAGS = @LIBXS_EXTRA_CXXFLAGS@ if BUILD_PGM -libxs_la_CPPFLAGS = -I$(top_srcdir)/@pgm_srcdir@/include/ +libxs_la_CPPFLAGS += -I$(top_srcdir)/@pgm_srcdir@/include/ libxs_la_LIBADD = $(top_srcdir)/@pgm_srcdir@/libpgm_noinst.la endif -- cgit v1.2.3