summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2008-07-30 17:02:21 -0400
committerTim Kientzle <kientzle@gmail.com>2008-07-30 17:02:21 -0400
commit9e7cfdf693e704cfa8390fcd0013bbea79834cbb (patch)
tree84bea5e944dc6294ed8a61b743693af34b88b319 /Makefile.am
parent66b4a92a7035cc07fc6c35379559c9678d1d783a (diff)
downloadlibarchive-9e7cfdf693e704cfa8390fcd0013bbea79834cbb.tar.gz
Fix building in separate dir.
Submitted by: Toby Peterson SVN-Revision: 172
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9915cc04..b3ff51fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -139,6 +139,7 @@ libarchive_la_SOURCES= \
libarchive/filter_fork.c \
libarchive/filter_fork.h
+libarchive_la_CPPFLAGS=-I $(top_builddir)/libarchive
# cygwin barfs without -no-undefined; I don't know what it does or
# whether it helps or hurts other platforms...
libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)