[package] fix axhttpd installation, patch from Russell Senior
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16131 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
df1a01d017
commit
d439b45ab5
16
libs/axtls/patches/002-axhttpd_install.patch
Normal file
16
libs/axtls/patches/002-axhttpd_install.patch
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user