From 599be7ddc91e5c515b13e96ceee1f78858f7a9a6 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 11 Aug 2019 02:26:12 +0200 Subject: [PATCH] Don't add Apple Frameworks twice These Frameworks are added again a couple lines below in the check for `module == 'cocoa'`. --- glfw/glfw.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/glfw/glfw.py b/glfw/glfw.py index d5c855caa..e33472a85 100755 --- a/glfw/glfw.py +++ b/glfw/glfw.py @@ -32,10 +32,6 @@ def init_env(env, pkg_config, at_least_version, test_compile, module='x11'): if is_macos: ans.cppflags.append('-DGL_SILENCE_DEPRECATION') - ans.ldpaths.extend( - "-framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo". - split() - ) else: ans.ldpaths.extend('-lrt -lm -ldl'.split()) with open(os.path.join(base, 'source-info.json')) as f: