Use the C++ compiler for linking liboctinterp.so in order

to avoid lots of "Undefined symbol" errors also the tests passes.

Submitted by:	Ryan Hinton <rwh4s@virginia.edu>
This commit is contained in:
Maho Nakata 2008-02-14 07:13:29 +00:00
parent d223d79557
commit 12cb98ee35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207191

View file

@ -0,0 +1,12 @@
--- configure.in~ 2008-02-12 17:58:15.000000000 +0000
+++ configure.in 2008-02-12 17:56:53.000000000 +0000
@@ -974,7 +974,7 @@
SH_LDFLAGS='-shared -fPIC'
;;
*-*-freebsd*)
- SH_LD='$(CC)'
+ SH_LD='$(CXX)'
SH_LDFLAGS="-shared -Wl,-x"
RLD_FLAG='-Wl,-rpath -Wl,$(octlibdir)'
;;