packages/libs/axtls/patches/002-axhttpd_install.patch
florian d439b45ab5 [package] fix axhttpd installation, patch from Russell Senior
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 11:11:46 +00:00

17 lines
611 B
Diff

diff -ru axtls-1.2.2/Makefile axtls-1.2.2-new/Makefile
--- axtls-1.2.2/Makefile 2007-12-01 16:42:23.000000000 -0800
+++ axtls-1.2.2-new/Makefile 2009-05-27 22:41:44.000000000 -0700
@@ -88,8 +88,11 @@
install: $(PREFIX) all
cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib
chmod 755 $(PREFIX)/lib/libax*
+ifdef CONFIG_AXHTTPD
+ install -m 755 $(STAGE)/axhttpd $(PREFIX)/bin
+endif
ifdef CONFIG_SAMPLES
- install -m 755 $(STAGE)/ax* $(PREFIX)/bin
+ install -m 755 $(STAGE)/axssl $(PREFIX)/bin
endif
ifdef CONFIG_HTTP_HAS_AUTHORIZATION
install -m 755 $(STAGE)/htpasswd $(PREFIX)/bin