mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-07 23:25:00 -05:00
don't explicitly link to WebKit
This commit is contained in:
@@ -647,8 +647,9 @@ if (COMPILER=="LINUX"):
|
||||
SmartPkgEnable("FLTK", "", ("fltk"), ("Fl/Fl.H"), tool = "fltk-config")
|
||||
if (RUNTIME):
|
||||
if (sys.platform == 'darwin'):
|
||||
SmartPkgEnable("NPAPI", "", ("WebKit"), ("npapi.h"), framework = "WebKit")
|
||||
IncDirectory("NPAPI", "/System/Library/Frameworks/WebKit.framework/Headers")
|
||||
SmartPkgEnable("NPAPI", "", (), ("npapi.h"))
|
||||
if (not os.path.isdir(GetThirdpartyDir() + "npapi")):
|
||||
IncDirectory("NPAPI", "/System/Library/Frameworks/WebKit.framework/Headers")
|
||||
elif (sys.platform.startswith("freebsd")):
|
||||
SmartPkgEnable("NPAPI", "mozilla-plugin", (), ("libxul/stable", "libxul/stable/npapi.h", "nspr/prtypes.h", "nspr"))
|
||||
else:
|
||||
@@ -736,6 +737,7 @@ if (COMPILER=="LINUX"):
|
||||
LibName(pkg, "-lIMFbase")
|
||||
if (sys.platform == "darwin"):
|
||||
LibName(pkg, "-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib")
|
||||
|
||||
if (PkgSkip("PHYSX")==0):
|
||||
IncDirectory("PHYSX", SDK["PHYSX"] + "/Physics/include")
|
||||
IncDirectory("PHYSX", SDK["PHYSX"] + "/PhysXLoader/include")
|
||||
|
||||
Reference in New Issue
Block a user