Skip to content

Commit

Permalink
wxgtk-3.0: accept '-stdlib=' option
Browse files Browse the repository at this point in the history
  • Loading branch information
mojca committed Sep 4, 2018
1 parent a046d09 commit e4290cb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion graphics/wxWidgets-3.0/files/patch-configure.diff
@@ -1,4 +1,5 @@
This patch is needed for GTK to make sure that the port finds the right OpenGL library
The first patch is needed for GTK to make sure that the port finds the right OpenGL library
The second patch is for https://trac.macports.org/ticket/57092
--- configure.orig
+++ configure
@@ -22047,48 +22047,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
Expand Down Expand Up @@ -51,3 +52,15 @@ This patch is needed for GTK to make sure that the port finds the right OpenGL l

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
$as_echo_n "checking for libraries directories... " >&6; }
@@ -39278,6 +39242,11 @@ while test ${D}# -gt 0; do
args="${D}{args} ${D}1"
;;

+ -stdlib*)
+ # collect these options
+ args="${D}{args} ${D}1"
+ ;;
+
-dynamiclib|-bundle)
linking_flag="${D}1"
;;

0 comments on commit e4290cb

Please sign in to comment.