mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Set --tag on libtool invocation.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4383 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3f659f9a70
commit
a6a653a3f8
@ -550,13 +550,13 @@ cat > conftest.c <<EOF
|
||||
int modfunc(){return (int)floor(1.2);}
|
||||
EOF
|
||||
|
||||
./libtool --mode=compile $CC $CFLAGS -c conftest.c 2> /dev/null > /dev/null
|
||||
./libtool --tag=CC --mode=compile $CC $CFLAGS -c conftest.c 2> /dev/null > /dev/null
|
||||
if test ! -s conftest.lo; then
|
||||
AC_ERROR([error compiling test module])
|
||||
fi
|
||||
|
||||
dnl ** link to library
|
||||
./libtool --mode=link $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la > /dev/null
|
||||
./libtool --tag=CC --mode=link $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la > /dev/null
|
||||
if test ! -s .libs/libconftest.a; then
|
||||
AC_ERROR([error, can't even find .a library])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user