summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian.boor@gmail.com <florian.boor@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2013-06-28 04:45:51 (EDT)
committer florian.boor@gmail.com <florian.boor@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2013-06-28 04:45:51 (EDT)
commite5a86413e292c4890f84938b67e049a635b11487 (patch)
tree5d23b04868ff7276090758ed955d66798ecc2a6e
parent6b576f0d9b00f78a60f4994b663fd8ce43b9f6da (diff)
Apply patch by Paul Barker <paul@paulbarker.me.uk>
Fix libopkg header installation. When opkg is built outside the source directory, libopkg headers aren't all installed as the search path for headers only includes the directory that make is being ran in, not the source directory. So we fix this by adding $(srcdir)/*.h to the list of header files to install. git-svn-id: http://opkg.googlecode.com/svn/trunk@650 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am
index 043c5c4..b6f4f7b 100644
--- a/libopkg/Makefile.am
+++ b/libopkg/Makefile.am
@@ -2,7 +2,7 @@
AM_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DOPKGLOCKFILE=\"@opkglockfile@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
libopkg_includedir=$(includedir)/libopkg
-libopkg_include_HEADERS= *.h
+libopkg_include_HEADERS= *.h $(srcdir)/*.h
opkg_libcore_sources = \