mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
it's p3dtoolconfig in ppremake too now, David
This commit is contained in:
parent
eaa31cc65b
commit
c76d2cd226
@ -2074,8 +2074,6 @@ static PyMethodDef python_simple_funcs[] = {
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
// Makepanda builds the library as libp3dtoolconfig instead of libdtoolconfig.
|
||||
#ifdef MAKEPANDA
|
||||
#ifdef _WIN32
|
||||
extern "C" __declspec(dllexport) void initlibp3dtoolconfig();
|
||||
#else
|
||||
@ -2086,16 +2084,3 @@ void initlibp3dtoolconfig() {
|
||||
Py_InitModule("libp3dtoolconfig", python_simple_funcs);
|
||||
}
|
||||
|
||||
#else // MAKEPANDA
|
||||
|
||||
#ifdef _WIN32
|
||||
extern "C" __declspec(dllexport) void initlibdtoolconfig();
|
||||
#else
|
||||
extern "C" void initlibdtoolconfig();
|
||||
#endif
|
||||
|
||||
void initlibdtoolconfig() {
|
||||
Py_InitModule("libdtoolconfig", python_simple_funcs);
|
||||
}
|
||||
#endif // MAKEPANDA
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user