mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
db84801dd5
Noticed by: smace
28 lines
756 B
Plaintext
28 lines
756 B
Plaintext
--- configure.orig Tue Nov 25 10:31:42 1997
|
|
+++ configure Tue Sep 22 13:29:15 1998
|
|
@@ -3782,14 +3782,22 @@
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
SHLIB_CFLAGS="-fpic"
|
|
- SHLIB_LD="ld -Bshareable -x"
|
|
+ if [ "$PORTOBJFORMAT" = "elf" ]; then
|
|
+ SHLIB_LD="ld -shared -x -soname \$@"
|
|
+ else
|
|
+ SHLIB_LD="ld -Bshareable -x"
|
|
+ fi
|
|
SHLIB_LD_LIBS=""
|
|
SHLIB_SUFFIX=".so"
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS=""
|
|
LD_FLAGS=""
|
|
LD_SEARCH_FLAGS=""
|
|
- TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0'
|
|
+ if [ "$PORTOBJFORMAT" = "elf" ]; then
|
|
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1'
|
|
+ else
|
|
+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.2'
|
|
+ fi
|
|
|
|
else
|
|
echo "$ac_t""no" 1>&6
|