ports/math/octave/files/patch-configure.in
Maho Nakata 12cb98ee35 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>
2008-02-14 07:13:29 +00:00

12 lines
318 B
Text

--- 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)'
;;