mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
only include -lnet if it is available
This commit is contained in:
parent
7fdb08d000
commit
a5d5321c60
@ -129,7 +129,8 @@ class ConnectionRepository(DirectObject.DirectObject, CConnectionRepository):
|
|||||||
dclass.setClassDef(classDef)
|
dclass.setClassDef(classDef)
|
||||||
|
|
||||||
self.dclassesByName[className] = dclass
|
self.dclassesByName[className] = dclass
|
||||||
self.dclassesByNumber[number] = dclass
|
if number >= 0:
|
||||||
|
self.dclassesByNumber[number] = dclass
|
||||||
|
|
||||||
def importModule(self, dcImports, moduleName, importSymbols):
|
def importModule(self, dcImports, moduleName, importSymbols):
|
||||||
""" Imports the indicated moduleName and all of its symbols
|
""" Imports the indicated moduleName and all of its symbols
|
||||||
|
@ -8,9 +8,12 @@
|
|||||||
#define LOCAL_LIBS \
|
#define LOCAL_LIBS \
|
||||||
directbase dcparser
|
directbase dcparser
|
||||||
#define OTHER_LIBS \
|
#define OTHER_LIBS \
|
||||||
downloader:c net:c panda:m express:c pandaexpress:m \
|
downloader:c panda:m express:c pandaexpress:m \
|
||||||
interrogatedb:c dconfig:c dtoolconfig:m \
|
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
dtoolutil:c dtoolbase:c dtool:m
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
#if $[and $[HAVE_NET],$[HAVE_NSPR]] \
|
||||||
|
#define OTHER_LIBS net:c $[OTHER_LIBS]
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SOURCES \
|
#define SOURCES \
|
||||||
config_distributed.cxx config_distributed.h \
|
config_distributed.cxx config_distributed.h \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user