libreadline: add host-build
[lede-git/.git] / package / libs / readline / patches / 001-install_perm.patch
diff --git a/package/libs/readline/patches/001-install_perm.patch b/package/libs/readline/patches/001-install_perm.patch
new file mode 100644 (file)
index 0000000..951ff73
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/support/shlib-install
++++ b/support/shlib-install
+@@ -73,7 +73,7 @@ fi
+ case "$host_os" in
+ hpux*|darwin*|macosx*|linux*|solaris2*)
+       if [ -z "$uninstall" ]; then
+-              chmod 555 ${INSTALLDIR}/${LIBNAME}
++              chmod +x ${INSTALLDIR}/${LIBNAME}
+       fi ;;
+ cygwin*|mingw*)
+       IMPLIBNAME=`echo ${LIBNAME} \