From c475c6acd9235d968ed2e16cac3d9c240ae47f4b Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 2 Feb 2012 09:36:33 +0000 Subject: [PATCH] static boost_python on OSX --- makepanda/makepanda.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index a139f01b08..e1a176946d 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -625,7 +625,11 @@ if (COMPILER=="LINUX"): SmartPkgEnable("TIFF", "", ("tiff"), "tiff.h") SmartPkgEnable("VRPN", "", ("vrpn", "quat"), ("vrpn", "quat.h", "vrpn/vrpn_Types.h")) SmartPkgEnable("BULLET", "bullet", ("BulletSoftBody", "BulletDynamics", "BulletCollision", "LinearMath"), ("bullet", "bullet/btBulletDynamicsCommon.h")) - SmartPkgEnable("ROCKET", "", ("RocketCore", "RocketControls", "boost_python"), "Rocket/Core.h") + if sys.platform == "darwin": + # We use a statically linked libboost_python on OSX + SmartPkgEnable("ROCKET", "", ("RocketCore", "RocketControls"), "Rocket/Core.h") + else: + SmartPkgEnable("ROCKET", "", ("RocketCore", "RocketControls", "boost_python"), "Rocket/Core.h") SmartPkgEnable("GTK2", "gtk+-2.0") SmartPkgEnable("JPEG", "", ("jpeg"), "jpeglib.h") SmartPkgEnable("OPENSSL", "openssl", ("ssl", "crypto"), ("openssl/ssl.h", "openssl/crypto.h"))