Browse Source

bcron: Fixed cross compilation by using the right $AR and $RANLIB

user/amery/cross
Alejandro Mery 17 years ago
parent
commit
a53b74e7d1
  1. 29
      base/bcron/AR_RANLIB.patch

29
base/bcron/AR_RANLIB.patch

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../bcron/AR_RANLIB.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.orig 2008-03-15 19:40:01.000000000 +0000
+++ ./Makefile 2008-03-15 19:40:51.000000000 +0000
@@ -130,8 +130,8 @@
( echo '#!/bin/sh'; \
echo 'main="$$1"; shift';\
echo 'rm -f "$$main"';\
- echo 'ar cr "$$main" $${1+"$$@"}';\
- echo 'ranlib "$$main"';\
+ echo '$${AR:-ar} cr "$$main" $${1+"$$@"}';\
+ echo '$${RANLIB:-ranlib} "$$main"';\
) >makelib
chmod 755 makelib
Loading…
Cancel
Save