mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
parent
d223d79557
commit
12cb98ee35
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207191
1 changed files with 12 additions and 0 deletions
12
math/octave/files/patch-configure.in
Normal file
12
math/octave/files/patch-configure.in
Normal 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)'
|
||||
;;
|
||||
|
Loading…
Add table
Reference in a new issue