Skip to content

Commit ddea543

Browse files
committed
optional net and nativenet
1 parent 7e565c2 commit ddea543

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

direct/src/plugin/Sources.pp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@
179179
pgraph:c pgraphnodes:c cull:c gsgbase:c gobj:c \
180180
mathutil:c lerp:c downloader:c pnmimage:c \
181181
prc:c pstatclient:c pandabase:c linmath:c putil:c \
182-
pipeline:c event:c nativenet:c net:c display:c panda:m
182+
pipeline:c event:c display:c panda:m \
183+
$[if $[WANT_NATIVE_NET],nativenet:c] \
184+
$[if $[HAVE_NET],net:c]
183185

184186
#define SOURCES \
185187
binaryXml.cxx binaryXml.h \
@@ -226,7 +228,9 @@
226228
pgraph:c pgraphnodes:c cull:c gsgbase:c gobj:c \
227229
mathutil:c lerp:c downloader:c pnmimage:c \
228230
prc:c pstatclient:c pandabase:c linmath:c putil:c \
229-
pipeline:c event:c nativenet:c net:c display:c panda:m
231+
pipeline:c event:c display:c panda:m \
232+
$[if $[WANT_NATIVE_NET],nativenet:c] \
233+
$[if $[HAVE_NET],net:c]
230234

231235
#define SOURCES \
232236
binaryXml.cxx binaryXml.h \
@@ -270,7 +274,9 @@
270274
pgraph:c pgraphnodes:c cull:c gsgbase:c gobj:c \
271275
mathutil:c lerp:c downloader:c pnmimage:c \
272276
prc:c pstatclient:c pandabase:c linmath:c putil:c \
273-
pipeline:c event:c nativenet:c net:c display:c panda:m
277+
pipeline:c event:c display:c panda:m \
278+
$[if $[WANT_NATIVE_NET],nativenet:c] \
279+
$[if $[HAVE_NET],net:c]
274280

275281
#define SOURCES \
276282
binaryXml.cxx binaryXml.h \

0 commit comments

Comments
 (0)