summaryrefslogtreecommitdiff
path: root/data/ncftp/tools.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/ncftp/tools.diff')
-rw-r--r--data/ncftp/tools.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/ncftp/tools.diff b/data/ncftp/tools.diff
new file mode 100644
index 000000000..b34de4787
--- /dev/null
+++ b/data/ncftp/tools.diff
@@ -0,0 +1,17 @@
+diff -ru ncftp-3.2.1/configure ncftp-3.2.1+iPhone/configure
+--- ncftp-3.2.1/configure 2007-08-01 05:39:16.000000000 +0000
++++ ncftp-3.2.1+iPhone/configure 2008-03-24 09:22:22.000000000 +0000
+@@ -8387,10 +8387,13 @@
+ case "$CC" in
+ *${machine}*)
+ f=`echo "$CC" | sed 's|/[^/]*$||'`
++ AR=$(which "${machine}-ar") ||
+ if [ -x "$f/${machine}-ar" ] ; then
+ AR="$f/${machine}-ar"
+ elif [ -x "$f/ar" ] ; then
+ AR="$f/ar"
++ else
++ AR="ar"
+ fi
+ ;;
+ esac