summaryrefslogtreecommitdiff
path: root/math/ipopt/patches/patch-Ipopt_configure
blob: 00b7d146f5795971ce996e460f3dc04bd489efea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-Ipopt_configure,v 1.1 2013/11/29 12:59:31 joerg Exp $

--- Ipopt/configure.orig	2013-11-28 03:29:00.000000000 +0000
+++ Ipopt/configure
@@ -5180,7 +5180,12 @@ fi
 
           done
           ;;
-        -[lLR]*)
+        -R*)
+          ac_arg="-Wl,$ac_arg"
+          shift
+          set X $ac_arg "$@"
+          ;;
+        -[lLR]*|-Wl*)
             ac_exists=false
   for ac_i in $ac_cv_f77_libs; do
     if test x"$ac_arg" = x"$ac_i"; then