- Respect CXX (linking)

PR:		163229
Submitted by:	Jan Beich <jbeich@tormail.net>
This commit is contained in:
Martin Wilke 2011-12-26 23:38:16 +00:00
parent a7fea62898
commit db2e3356a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288087

View file

@ -15,3 +15,12 @@
;;
esac
@@ -1482,7 +1478,7 @@
if test $SHARED_BUILD = 1; then
SHLIB_FLAGS="-shared"
SHLIB_CFLAGS="-fPIC -DUSE_TCL_STUBS"
- SHLIB_LD="g++ -shared"
+ SHLIB_LD="$CXX -shared"
else
SHLIB_FLAGS=""
SHLIB_CFLAGS=""