From: Peter Korsgaard Date: Thu, 8 Jul 2010 11:25:09 +0000 (+0200) Subject: libcgi: fix target install if usr/include doesn't exist X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd747b77b7702a2827635044e8f6648f167004ee;p=buildroot.git libcgi: fix target install if usr/include doesn't exist Signed-off-by: Peter Korsgaard --- diff --git a/CHANGES b/CHANGES index 9f3d1a4220..da62f139af 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 5cf4915de9..716d83cfca 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)