mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix OpenMaya location on Linux
This commit is contained in:
parent
b9da2363f1
commit
d67aad1e2a
@ -51,11 +51,14 @@
|
|||||||
#define QUOTESTR(x) #x
|
#define QUOTESTR(x) #x
|
||||||
#define TOSTRING(x) QUOTESTR(x)
|
#define TOSTRING(x) QUOTESTR(x)
|
||||||
|
|
||||||
#ifdef IS_OSX
|
#if defined(_WIN32)
|
||||||
|
// Filename::dso_filename changes .so to .dll automatically.
|
||||||
|
static const Filename openmaya_filename = "bin/OpenMaya.so";
|
||||||
|
#elif defined(IS_OSX)
|
||||||
static const Filename openmaya_filename = "MacOS/libOpenMaya.dylib";
|
static const Filename openmaya_filename = "MacOS/libOpenMaya.dylib";
|
||||||
#else
|
#else
|
||||||
static const Filename openmaya_filename = "bin/OpenMaya.so";
|
static const Filename openmaya_filename = "lib/libOpenMaya.so";
|
||||||
#endif // IS_OSX
|
#endif // _WIN32
|
||||||
|
|
||||||
// Searches for python26.zip or whatever version it is.
|
// Searches for python26.zip or whatever version it is.
|
||||||
static Filename
|
static Filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user