From c8a5a6f6f2c904d7e73c60c431e73a251587cf1a Mon Sep 17 00:00:00 2001 From: vincents Date: Mon, 7 Sep 2009 11:10:54 +0000 Subject: [PATCH] gtk2: added missing linklib for darwin, workaround for fpc 2.2.4, newer versions should be fixed in fpc/packages/gtk2 (issue #14518) git-svn-id: trunk@21599 - --- lcl/interfaces/gtk2/gtk2extrah.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lcl/interfaces/gtk2/gtk2extrah.inc b/lcl/interfaces/gtk2/gtk2extrah.inc index 87e4b4793d..f15024420e 100644 --- a/lcl/interfaces/gtk2/gtk2extrah.inc +++ b/lcl/interfaces/gtk2/gtk2extrah.inc @@ -193,3 +193,10 @@ procedure gtk_file_chooser_set_do_overwrite_confirmation(chooser:PGtkFileChooser {$ifdef GTK_2_10} function gdk_screen_is_composited(screen: PGdkScreen): gboolean; cdecl; external gdklib; {$endif} + +{$ifdef ver2_2} +{$ifdef darwin} +// this linklib statement is not present in gtk2.pas +{linklib gthread-2.0} +{$endif} +{$endif}