Skip to content

Commit 5096667

Browse files
committed
configury: fix sed expression in libtool's patch for NAG compiler
1 parent ba77d9b commit 5096667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/ltmain_nag_pthread.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
1010
+ case "$CC" in
1111
+ nagfor*)
12-
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g' | $SED 's/-pthread/-Wl,-pthread'`;;
12+
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g' | $SED 's/-pthread/-Wl,-pthread/g'`;;
1313
+ *)
1414
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`;;
1515
+ esac

0 commit comments

Comments
 (0)