Fix non-srcdir builds
We need to modify the various paths we reference to include the build directory, in the case when the build directory is not the source directory.
This commit is contained in:
parent
8aba48aa27
commit
c9a550e93c
|
@ -7,7 +7,7 @@ CLEANFILES = suffixes_dafsa.c
|
||||||
lib_LTLIBRARIES = libpsl.la
|
lib_LTLIBRARIES = libpsl.la
|
||||||
|
|
||||||
libpsl_la_SOURCES = psl.c lookup_string_in_fixed_set.c
|
libpsl_la_SOURCES = psl.c lookup_string_in_fixed_set.c
|
||||||
libpsl_la_CPPFLAGS = -I$(top_srcdir)/include -DPSL_DISTFILE=\"$(PSL_DISTFILE)\"
|
libpsl_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -DPSL_DISTFILE=\"$(PSL_DISTFILE)\"
|
||||||
# include ABI version information
|
# include ABI version information
|
||||||
libpsl_la_LDFLAGS = -version-info $(LIBPSL_SO_VERSION)
|
libpsl_la_LDFLAGS = -version-info $(LIBPSL_SO_VERSION)
|
||||||
if WITH_LIBICU
|
if WITH_LIBICU
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
bin_PROGRAMS = psl
|
bin_PROGRAMS = psl
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
|
||||||
LDADD = ../src/libpsl.la
|
LDADD = $(top_builddir)/src/libpsl.la
|
||||||
|
|
||||||
#if WITH_LIBICU
|
#if WITH_LIBICU
|
||||||
# LDADD += -licuuc
|
# LDADD += -licuuc
|
||||||
|
|
Loading…
Reference in New Issue