Merge pull request #96 from ebassi/non-srcdir-build
Fix non-srcdir builds
This commit is contained in:
commit
84536ee21d
|
@ -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