CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added eabi support to CFLAGS
[pkgutils-cross.git]
/
pkgadd-cross
diff --git
a/pkgadd-cross
b/pkgadd-cross
index 564410cda07b856f76081499313408d45876f20d..8ecac21927a0dbb003b7c823001650f6b551e8de 100755
(executable)
--- a/
pkgadd-cross
+++ b/
pkgadd-cross
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-TOPDIR="$(cd $(dirname $
0
); pwd)"
+TOPDIR="$(cd $(dirname $
(which $0)
); pwd)"
PKGADD=$TOPDIR/src/pkgadd
PKGMK_CONF=$TOPDIR/src/pkgmk.conf
PKGADD=$TOPDIR/src/pkgadd
PKGMK_CONF=$TOPDIR/src/pkgmk.conf
@@
-14,4
+14,8
@@
fi
$PKGADD -r $CLFS $@
$PKGADD -r $CLFS $@
+# we shoudl avoid .la files when crosscompiling, these files
+# contains the libdir variable hardcoded which is used by libtool
+[ $? -eq 0 ] && find $CLFS -type f -name '*.la' -delete
+
# End of file
# End of file