mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 02:10:35 +02:00
LCL: added linker options for dawrin
git-svn-id: trunk@27519 -
This commit is contained in:
parent
494718ffc5
commit
021dbcbeb1
@ -39,10 +39,25 @@ end else if LCLWidgetType1='fpgui' then begin
|
||||
else
|
||||
fpGUIPlatform := 'x11';
|
||||
end;
|
||||
CustomOptions := '-dfpgui'+fpGUIPlatform;
|
||||
UnitPath := base+'gui;'
|
||||
+base+'corelib;'
|
||||
+base+'corelib/'+fpGUIPlatform;
|
||||
IncPath := UnitPath;
|
||||
end;
|
||||
|
||||
// linker options
|
||||
if TargetOS='darwin' then begin
|
||||
if LCLWidgetType1='gtk' then
|
||||
UsageLinkerOptions := '-Fl/usr/X11R6/lib -Fl/sw/lib'
|
||||
else if LCLWidgetType1='gtk2' then
|
||||
UsageLinkerOptions := '-Fl/usr/X11R6/lib -Fl/sw/lib -Fl/sw/lib/pango-ft219/lib'
|
||||
else if LCLWidgetType1='carbon' then begin
|
||||
UsageLinkerOptions := '-k-framework -kCarbon'
|
||||
+' -k-framework -kOpenGL'
|
||||
+' -k''-dylib_file'' -k''/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib''';
|
||||
end else if LCLWidgetType1='cocoa' then
|
||||
UsageLinkerOptions := '-k-framework -kCocoa';
|
||||
end;"/>
|
||||
<BuildMacros>
|
||||
<Count Value="2"/>
|
||||
|
Loading…
Reference in New Issue
Block a user