don't hardcode compiler when linking the shared library.
This commit is contained in:
parent
6077001b2f
commit
00cf8b9a47
@ -1,5 +1,5 @@
|
|||||||
--- configure.orig Tue Mar 9 00:51:26 1999
|
--- configure.orig Tue Mar 9 01:51:26 1999
|
||||||
+++ configure Thu Nov 2 09:56:59 2000
|
+++ configure Wed Mar 7 20:55:25 2001
|
||||||
@@ -4095,16 +4095,26 @@
|
@@ -4095,16 +4095,26 @@
|
||||||
fi
|
fi
|
||||||
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||||
@ -14,7 +14,7 @@
|
|||||||
+ *)
|
+ *)
|
||||||
+ SHLIB_CFLAGS="-fpic";;
|
+ SHLIB_CFLAGS="-fpic";;
|
||||||
+ esac
|
+ esac
|
||||||
+ SHLIB_LD="cc -shared ${SHLIB_CFLAGS}"
|
+ SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
|
||||||
SHLIB_LD_LIBS=""
|
SHLIB_LD_LIBS=""
|
||||||
SHLIB_SUFFIX=".so"
|
SHLIB_SUFFIX=".so"
|
||||||
DL_OBJS="tclLoadDl.o"
|
DL_OBJS="tclLoadDl.o"
|
||||||
|
Loading…
Reference in New Issue
Block a user