diff options
author | Gabriele Svelto <gabriele.svelto@gmail.com> | 2012-04-11 11:43:38 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-16 13:22:40 +0200 |
commit | 5b24b701c09665c3fadd8f42232616a395130442 (patch) | |
tree | e45077aa18d5e5d4a3cf5d833d24fe0ed029dcab | |
parent | dd0411ec78a4f8fa99aa32a2f2a90dba5d7bf572 (diff) |
Define the XS_PREFIX_PATH macro with the installation prefix
Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 |