mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
explicitly link with pnmimagetypes to foil dynamic linker optimizations
This commit is contained in:
parent
483928ff8b
commit
abc64b3915
@ -106,10 +106,6 @@ open_framework(int &argc, char **&argv) {
|
|||||||
init_libtinydisplay();
|
init_libtinydisplay();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Get the available image types too.
|
|
||||||
extern EXPCL_PANDA_PNMIMAGETYPES void init_libpnmimagetypes();
|
|
||||||
init_libpnmimagetypes();
|
|
||||||
|
|
||||||
// Ensure the animation subsystem is available.
|
// Ensure the animation subsystem is available.
|
||||||
extern EXPCL_PANDA_CHAR void init_libchar();
|
extern EXPCL_PANDA_CHAR void init_libchar();
|
||||||
init_libchar();
|
init_libchar();
|
||||||
@ -122,6 +118,11 @@ open_framework(int &argc, char **&argv) {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Let's explicitly make a call to the image type library to ensure
|
||||||
|
// it gets pulled in by the dynamic linker.
|
||||||
|
extern EXPCL_PANDA_PNMIMAGETYPES void init_libpnmimagetypes();
|
||||||
|
init_libpnmimagetypes();
|
||||||
|
|
||||||
reset_frame_rate();
|
reset_frame_rate();
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user