From: Tim Kientzle Date: Wed, 30 Jul 2008 21:02:21 +0000 (-0400) Subject: Fix building in separate dir. X-Git-Tag: v2.6.0~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e7cfdf693e704cfa8390fcd0013bbea79834cbb;p=thirdparty%2Flibarchive.git Fix building in separate dir. Submitted by: Toby Peterson SVN-Revision: 172 --- diff --git a/Makefile.am b/Makefile.am index 9915cc045..b3ff51fa6 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)