Take advantage of mozilla-plugin.pc if available, this should fix the archlinux plugin trouble

This commit is contained in:
rdb 2010-05-18 13:08:39 +00:00
parent 2ec0617d32
commit e7285a993f

View File

@ -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):