diff options
author | Manish Singh <yosh@src.gnome.org> | 1999-01-28 04:43:35 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1999-01-28 04:43:35 +0000 |
commit | 9d71cc7f5083637011b546c4611e346615d6da00 (patch) | |
tree | 8d2073e3ac7910cb306c86d1d9603bbf503b4d07 /ltmain.sh | |
parent | d9a8bb01e475802409124439e35705bd59034532 (diff) | |
download | glib-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.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |