libafssetpag-temp-fix-20051018
[openafs.git] / src / cf / osconf.m4
index 6adde05..8e834de 100644 (file)
@@ -208,6 +208,7 @@ case $AFS_SYSNAME in
                MT_LIBS="-pthread"
                PAM_CFLAGS="-O2 -pipe -fPIC"
                SHLIB_LDFLAGS="-shared -Xlinker -x"
+               SHLIB_LINKER="${MT_CC} -shared"
                TXLIBS="-lncurses"
                XCFLAGS="-O2 -pipe"
                YACC="byacc"
@@ -219,6 +220,7 @@ case $AFS_SYSNAME in
                MT_LIBS="-lpthread" # XXX -pthread soon
                PAM_CFLAGS="-O2 -pipe -fPIC"
                SHLIB_LDFLAGS="-shared -Xlinker -x"
+               SHLIB_LINKER="${MT_CC} -shared"
                TXLIBS="/usr/lib/libcurses.so"
                XCFLAGS="-O2 -pipe"
                YACC="yacc"
@@ -230,6 +232,7 @@ case $AFS_SYSNAME in
                MT_LIBS=""
                PAM_CFLAGS="-O2 -pipe -fPIC"
                SHLIB_LDFLAGS="-shared -Xlinker -x"
+               SHLIB_LINKER="${MT_CC} -shared"
                TXLIBS="/usr/lib/libcurses.so"
                XCFLAGS="-O2 -pipe"
                YACC="bison -y"
@@ -378,6 +381,7 @@ case $AFS_SYSNAME in
                PAM_CFLAGS="-O2 -pipe -fpic"
                SHLIB_CFLAGS="-fpic"
                SHLIB_LDFLAGS="-shared -Xlinker -x"
+               SHLIB_LINKER="${MT_CC} -shared"
                TXLIBS="/usr/lib/libcurses.a"
                XCFLAGS="-O2"
                YACC="yacc"