CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959f70f
)
Improved treatment for .la files in pkgadd-cross
author
Jose V Beneyto
<sepen@crux.nu>
Wed, 21 Aug 2013 08:58:58 +0000
(08:58 +0000)
committer
Jose V Beneyto
<sepen@crux.nu>
Wed, 21 Aug 2013 08:58:58 +0000
(08:58 +0000)
pkgadd-cross
patch
|
blob
|
blame
|
history
diff --git
a/pkgadd-cross
b/pkgadd-cross
index c1ac751b493c034008955ff43abf1876957337cd..61bb88f3516521fc8707787ba1202e9c2e332c60 100755
(executable)
--- a/
pkgadd-cross
+++ b/
pkgadd-cross
@@
-41,7
+41,7
@@
$PKGADD -c $PKGADD_CONF -r $CLFS $ARGS
# we need to adjust .la files for our temporary root filesystem tree (CLFS)
if [ $? -eq 0 ]; then
- LIBTOOL_FILES=$(tar tf $PATH_TO_PACKAGE
| grep '.la
')
+ LIBTOOL_FILES=$(tar tf $PATH_TO_PACKAGE
2>/dev/null | grep '\.la$
')
for la_file in $LIBTOOL_FILES; do
sed -e "s|libdir='/|libdir='$CLFS/|" -i $CLFS/$la_file
done