From a103f5e66a19938503d81d635c7bf2ca92187eeb Mon Sep 17 00:00:00 2001 From: "msitu@ceresimaging.net" <60153807+msitu@users.noreply.github.com> Date: Thu, 27 Aug 2020 12:50:45 -0700 Subject: [PATCH] fix pg_config error for darwin os --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 960c9087e..05b05de87 100644 --- a/SConstruct +++ b/SConstruct @@ -615,7 +615,7 @@ def parse_config(context, config, checks='--libs --cflags'): # and thus breaks knowledge below that gdal worked # TODO - upgrade our scons logic to support Framework linking if env['PLATFORM'] == 'Darwin': - value = call(cmd,silent=True) + value = call(cmd,silent=True).decode("utf-8") if value and '-framework GDAL' in value: env['LIBS'].append('gdal') if os.path.exists('/Library/Frameworks/GDAL.framework/unix/lib'):