Unbreak build with clang

PR:		ports/162912
Submitted by:	Jan Beich <jbeich@tormail.net>
This commit is contained in:
Martin Matuska 2012-02-13 11:34:03 +00:00
parent b18cd8911b
commit 3148bf6e52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291278

View File

@ -39,3 +39,12 @@
TCL_LIB_VERSIONS_OK=nodots
;;
esac
@@ -7831,7 +7831,7 @@
# This configuration from FreeBSD Ports.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
- TCL_SHLIB_LD_EXTRAS="-soname \$@"
+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""