forked from old/legacy-imlib2
fix -I flags to support building out-of-source
When building out-of-source, the headers are located in subdirectories in $(top_srcdir) rather than $(top_builddir). Adjust AM_CPPFLAGS accordingly. URL: https://bugs.gentoo.org/510522
This commit is contained in:
parent
4f36e69934
commit
fb29e4bf8d
|
@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
|
||||
AM_CPPFLAGS = \
|
||||
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
||||
-I$(top_builddir)/src/lib \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
$(X_CFLAGS)
|
||||
|
||||
if BUILD_X11
|
||||
|
|
Loading…
Reference in New Issue