We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd5d71 commit 47f2d2bCopy full SHA for 47f2d2b
1 file changed
vlib/v/builder/cc.v
@@ -619,6 +619,12 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
619
if os.uname().machine == 'Power Macintosh' {
620
user_darwin_ppc = true
621
}
622
+
623
+ // Mac OS 10.4 and older requires Macports legacy software to build programs
624
+ if user_darwin_version <= 8 {
625
+ ccoptions.args << '-I' + @VEXEROOT + '/thirdparty/legacy/include/LegacySupport/'
626
+ ccoptions.args << @VEXEROOT + '/thirdparty/legacy/lib/libMacportsLegacySupport.a'
627
+ }
628
629
ccoptions.debug_mode = v.pref.is_debug
630
ccoptions.guessed_compiler = v.pref.ccompiler
0 commit comments