Add OSX Gl is linked to this libray by default on OSX

This commit is contained in:
Roger Hughston 2006-03-15 01:02:49 +00:00
parent f585b94829
commit c4ebca5a20
2 changed files with 12 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// directly into Panda.
#define COMPONENT_LIBS \
glgsg glxdisplay \
wgldisplay
wgldisplay osxdisplay
#endif
#define LOCAL_LIBS gsgbase display express

View File

@ -13,6 +13,11 @@
#endif // LINK_IN_GL
#ifdef IS_OSX
#include "config_osxdisplay.h"
#endif
// By including checkPandaVersion.h, we guarantee that runtime
// attempts to load libpandagl.so/.dll will fail if they inadvertently
// link with the wrong version of libdtool.so/.dll.
@ -35,4 +40,10 @@ init_libpandagl() {
init_libwgldisplay();
#endif // HAVE_GL
#endif // LINK_IN_GL
#ifdef IS_OSX
init_libosxdisplay();
#endif
}