Browse Source

hopefully this should fix the compile error for p3dcert on osx

rdb 14 years ago
parent
commit
ddf37dbe28
1 changed files with 1 additions and 0 deletions
  1. 1 0
      makepanda/makepanda.py

+ 1 - 0
makepanda/makepanda.py

@@ -3883,6 +3883,7 @@ if (RTDIST or RUNTIME):
       OPTS=['NOSTRIP', 'OPENSSL', 'FLTK', 'WINCOMCTL', 'WINSOCK']
       OPTS=['NOSTRIP', 'OPENSSL', 'FLTK', 'WINCOMCTL', 'WINSOCK']
     else:
     else:
       OPTS.append("WX")
       OPTS.append("WX")
+      if (sys.platform=="darwin"): OPTS.append("GL")
       TargetAdd('plugin_p3dCert.obj', opts=OPTS, input='p3dCert_wx.cxx')
       TargetAdd('plugin_p3dCert.obj', opts=OPTS, input='p3dCert_wx.cxx')
       TargetAdd('p3dcert.exe', input='plugin_mkdir_complete.obj')
       TargetAdd('p3dcert.exe', input='plugin_mkdir_complete.obj')
       TargetAdd('p3dcert.exe', input='plugin_p3dCert.obj')
       TargetAdd('p3dcert.exe', input='plugin_p3dCert.obj')