forked from PsychoticNinja/irssi
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);}
|
int modfunc(){return (int)floor(1.2);}
|
||||||
EOF
|
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
|
if test ! -s conftest.lo; then
|
||||||
AC_ERROR([error compiling test module])
|
AC_ERROR([error compiling test module])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ** link to library
|
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
|
if test ! -s .libs/libconftest.a; then
|
||||||
AC_ERROR([error, can't even find .a library])
|
AC_ERROR([error, can't even find .a library])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user