From 3dfa0b4f15aa83905237c27ad85be3775342089f Mon Sep 17 00:00:00 2001 From: Paul Ripke Date: Fri, 29 Mar 2024 17:18:54 +1100 Subject: [PATCH] Fix build on non-linux platforms. Inherit PATH from the environment, require gl, glu & glut. --- SConstruct | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index f247534..fa07670 100644 --- a/SConstruct +++ b/SConstruct @@ -1,12 +1,13 @@ from __future__ import print_function +import os + EnsureSConsVersion(0, 95) SConsignFile('.sconsign') +env = Environment(ENV={'PATH': os.environ['PATH']}) -env = Environment() - -env.ParseConfig('pkg-config --cflags --libs gl') +env.ParseConfig('pkg-config --cflags --libs gl glu glut') # configure if not env.GetOption("clean"):