From a36f6866dac0b58c586724d5013da44740ada727 Mon Sep 17 00:00:00 2001 From: Kreeblah Date: Sun, 13 Sep 2020 22:35:22 -0700 Subject: [PATCH] Fixed macOS compilation by bypassing GL library check --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index 11657ee80..abf0a0aff 100644 --- a/SConstruct +++ b/SConstruct @@ -1397,6 +1397,9 @@ static void terminate_handler() if self.user_settings.opengles: # GLES builds do not use the GL utility functions return + if sys.platform == 'darwin': + # macOS provides these in a system framework, so this test always fails + return self._check_system_library(context, header=['GL/glu.h'], main=''' gluPerspective(90.0,1.0,0.1,5000.0); gluBuild2DMipmaps (GL_TEXTURE_2D, 0, 1, 1, 1, GL_UNSIGNED_BYTE, nullptr);