summaryrefslogtreecommitdiff
path: root/lang/tcl86/files/patch-unix-configure
blob: 555a845e7c0fcb69ac5725760b12ab62db1c2dd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- unix/configure.orig	2024-12-05 13:33:57 UTC
+++ unix/configure
@@ -7320,6 +7320,10 @@ fi
 
 	    case $system in
 	    DragonFly-*|FreeBSD-*)
+		SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,-soname,\$@"
+		UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
+		TCL_LIB_VERSIONS_OK=nodots
 		if test "${TCL_THREADS}" = "1"; then
 
 		    # The -pthread needs to go in the LDFLAGS, not LIBS