From ee5c561acc5373ac5cf842371c5517fadf5acf87 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 26 Mar 2011 08:52:19 +0000 Subject: [PATCH] thirdparty dir for arm --- makepanda/makepandacore.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 555381e6c8..d743b927ce 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -793,12 +793,16 @@ def GetThirdpartyDir(): elif (sys.platform == "darwin"): THIRDPARTYDIR=GetThirdpartyBase()+"/darwin-libs-a/" elif (sys.platform.startswith("linux")): - if (platform.architecture()[0] == "64bit"): + if (platform.machine().startswith("arm")): + THIRDPARTYDIR=GetThirdpartyBase()+"/linux-libs-arm/" + elif (platform.architecture()[0] == "64bit"): THIRDPARTYDIR=GetThirdpartyBase()+"/linux-libs-x64/" else: THIRDPARTYDIR=GetThirdpartyBase()+"/linux-libs-a/" elif (sys.platform.startswith("freebsd")): - if (platform.architecture()[0] == "64bit"): + if (platform.machine().startswith("arm")): + THIRDPARTYDIR=GetThirdpartyBase()+"/freebsd-libs-arm/" + elif (platform.architecture()[0] == "64bit"): THIRDPARTYDIR=GetThirdpartyBase()+"/freebsd-libs-x64/" else: THIRDPARTYDIR=GetThirdpartyBase()+"/freebsd-libs-a/"