mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
30 lines
759 B
Plaintext
30 lines
759 B
Plaintext
--- configure.orig Mon Mar 8 22:51:26 1999
|
|
+++ configure Thu Apr 29 11:13:56 1999
|
|
@@ -4097,15 +4097,23 @@
|
|
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='${TCL_TRIM_DOTS}\$\{DBGX\}.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.5'
|
|
+ fi
|
|
+
|
|
else
|
|
echo "$ac_t""no" 1>&6
|
|
|