summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-08 11:25:09 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-08 11:25:09 (GMT)
commitbd747b77b7702a2827635044e8f6648f167004ee (patch)
treea3c480cd8fd26cc25ae7ffef8add796c223e697e
parent0b569356d7e14dd78068309f1863272f6db09223 (diff)
downloadbuildroot-bd747b77b7702a2827635044e8f6648f167004ee.tar.gz
buildroot-bd747b77b7702a2827635044e8f6648f167004ee.tar.bz2
libcgi: fix target install if usr/include doesn't exist
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/libcgi/libcgi.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 9f3d1a4..da62f13 100644
--- a/CHANGES
+++ b/CHANGES
@@ -17,7 +17,7 @@
Updated/fixed packages: berkeleydb, bash, blackbox, busybox,
bzip2, cdrkit, dash, dialog, diffutils, distcc, dmalloc,
dnsmasq, dropbear, e2fsprogs, fbv, file, gawk, gstreamer,
- gzip, intltool, ipsec-tools, iptables, libart, libfuse,
+ gzip, intltool, ipsec-tools, iptables, libart, libcgi, libfuse,
libgpg-error, libidn, liblockfile, links, lmbench, lrzsz,
make, module-init-tools, nbd, ncurses, netperf, ntfsprogs,
openssl, php, qt, quagga, sqlite, sdl, sdl_mixer, sdl_sound,
diff --git a/package/libcgi/libcgi.patch b/package/libcgi/libcgi.patch
index 5cf4915..716d83c 100644
--- a/package/libcgi/libcgi.patch
+++ b/package/libcgi/libcgi.patch
@@ -71,7 +71,7 @@
- cp src/session.h $(INCDIR)
+ cp src/libcgi.a $(DESTDIR)/$(LIBDIR)
+ cp src/libcgi.so $(DESTDIR)/$(LIBDIR)
-+ [ -d $(DESTDIR)/$(INCDIR) ] || mkdir $(DESTDIR)/$(INCDIR)
++ [ -d $(DESTDIR)/$(INCDIR) ] || mkdir -p $(DESTDIR)/$(INCDIR)
+ cp src/cgi.h $(DESTDIR)/$(INCDIR)
+ cp src/session.h $(DESTDIR)/$(INCDIR)