From 48668799d659730ae07fc67823610ac6d5cbc025 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 22 Aug 2011 19:43:47 -0400 Subject: [PATCH] python build fixes --- src/libpython/SConscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libpython/SConscript b/src/libpython/SConscript index e66e0d9d..2e2d5288 100644 --- a/src/libpython/SConscript +++ b/src/libpython/SConscript @@ -13,6 +13,10 @@ if pythonEnv.has_key('PYTHONLIB'): pythonEnv.Prepend(LIBS=pythonEnv['PYTHONLIB']) if pythonEnv.has_key('XERCESINCLUDE'): pythonEnv.Prepend(CPPPATH=pythonEnv['XERCESINCLUDE']) +if pythonEnv.has_key('XERCESLIBDIR'): + pythonEnv.Prepend(LIBPATH=pythonEnv['XERCESLIBDIR']) +if pythonEnv.has_key('XERCESLIB'): + pythonEnv.Prepend(LIBS=pythonEnv['XERCESLIB']) if hasPython: libpython = pythonEnv.SharedLibrary('mitsuba',