Merge pull request #96 from ebassi/non-srcdir-build

Fix non-srcdir builds
This commit is contained in:
Tim Rühsen 2018-04-06 18:22:59 +00:00 committed by GitHub
commit 84536ee21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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