]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix building in separate dir.
authorTim Kientzle <kientzle@gmail.com>
Wed, 30 Jul 2008 21:02:21 +0000 (17:02 -0400)
committerTim Kientzle <kientzle@gmail.com>
Wed, 30 Jul 2008 21:02:21 +0000 (17:02 -0400)
Submitted by: Toby Peterson

SVN-Revision: 172

Makefile.am

index 9915cc045b3ec701ca6149cdb69d12f21d7bf01e..b3ff51fa62a1652b285b7cfe06c47bca06ed93cd 100644 (file)
@@ -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)