From 394a259427a38275d95c5002e55a37c024dc9ee8 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 13 Nov 2009 21:00:39 -0500 Subject: [PATCH] Automatically add build flags on OSX. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 0d8b7587..36412af5 100644 --- a/setup.py +++ b/setup.py @@ -68,6 +68,7 @@ def main(): # Compile against 10.6 SDK, first to support OpenCL conf["CXXFLAGS"].extend(['-isysroot', '/Developer/SDKs/MacOSX10.6.sdk']) conf["LDFLAGS"].extend(['-isysroot', '/Developer/SDKs/MacOSX10.6.sdk']) + conf["LDFLAGS"].append("-Wl,-framework,OpenCL") ext_kwargs = dict() -- GitLab