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();
|
||||
#endif
|
||||
|
||||
// Get the available image types too.
|
||||
extern EXPCL_PANDA_PNMIMAGETYPES void init_libpnmimagetypes();
|
||||
init_libpnmimagetypes();
|
||||
|
||||
// Ensure the animation subsystem is available.
|
||||
extern EXPCL_PANDA_CHAR void init_libchar();
|
||||
init_libchar();
|
||||
|
|
@ -122,6 +118,11 @@ open_framework(int &argc, char **&argv) {
|
|||
|
||||
#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();
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue