mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Take advantage of mozilla-plugin.pc if available, this should fix the archlinux plugin trouble
This commit is contained in:
parent
2ec0617d32
commit
e7285a993f
@ -512,9 +512,9 @@ if (COMPILER=="LINUX"):
|
||||
SmartPkgEnable("WX", tool = "wx-config")
|
||||
if (RUNTIME):
|
||||
if (sys.platform.startswith("freebsd")):
|
||||
SmartPkgEnable("NPAPI", "", (), ("xulrunner", "nspr*/prtypes.h", "nspr*"))
|
||||
SmartPkgEnable("NPAPI", "mozilla-plugin", (), ("xulrunner", "nspr*/prtypes.h", "nspr*"))
|
||||
else:
|
||||
SmartPkgEnable("NPAPI", "", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr*/prtypes.h", "nspr*"))
|
||||
SmartPkgEnable("NPAPI", "mozilla-plugin", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr*/prtypes.h", "nspr*"))
|
||||
if (sys.platform != "darwin"):
|
||||
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
||||
if (PkgSkip("NVIDIACG")==0 and not RUNTIME):
|
||||
|
Loading…
x
Reference in New Issue
Block a user