If targets_install is empty, then handle it properly.

Signed-off-by: Philip Prindeville <[email protected]>

Index: package/iptables/patches/300-extensions-strip.patch
===================================================================
--- package/iptables/patches/300-extensions-strip.patch (revision 0)
+++ package/iptables/patches/300-extensions-strip.patch (revision 0)
@@ -0,0 +1,11 @@
+--- a/extensions/GNUmakefile.in        2012-02-22 14:03:08.170063367 -0700
++++ b/extensions/GNUmakefile.in        2012-02-22 15:00:57.093967205 -0700
+@@ -82,7 +82,7 @@
+ 
+ install: ${targets_install}
+       @mkdir -p "${DESTDIR}${xtlibdir}";
+-      if test -n "${targets_install}"; then install -pm0755 $^ 
"${DESTDIR}${xtlibdir}/"; fi;
++      if test -n "$(strip ${targets_install})"; then install -pm0755 $^ 
"${DESTDIR}${xtlibdir}/"; fi;
+ 
+ clean:
+       rm -f *.o *.oo *.so *.a {matches,targets}[46].man initext4.c initext6.c;
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to