summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1999-01-28 04:43:35 +0000
committerManish Singh <yosh@src.gnome.org>1999-01-28 04:43:35 +0000
commit9d71cc7f5083637011b546c4611e346615d6da00 (patch)
tree8d2073e3ac7910cb306c86d1d9603bbf503b4d07 /ltmain.sh
parentd9a8bb01e475802409124439e35705bd59034532 (diff)
downloadglib-9d71cc7f5083637011b546c4611e346615d6da00.tar.gz
Xsed isn't valid here, don't use it
* acinclude.m4: Xsed isn't valid here, don't use it * ltmain.sh * ltconfig: better file magic regexp for Linux libs * gmodule/Makefile.am: arg, noinst_LTLIBRARIES doesn't make shared libs, revert my previous change to this file * docs/texinfo.tex: add it so automake doesn't whine -Yosh
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltmain.sh b/ltmain.sh
index 21b200bf8..e66e0d88c 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1460,8 +1460,8 @@ EOF
# strict. What do you think Gordon?
potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
for potent_lib in $potential_libs; do
- file_output=`file $potent_lib`
- if test `expr "$file_output" : ".*$file_magic_regex"` -ne 0 ; then
+
+ if (file "$potent_lib" | sed '11,$d' | egrep "$file_magic_regex") > /dev/null ; then
newdeplibs="$newdeplibs $a_deplib"
a_deplib=""
break 2