Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxgtk-3.0: accept '-stdlib=' option #2513

Merged
merged 1 commit into from Sep 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
;;