Browse Source

properly link with pystub

David Rose 19 years ago
parent
commit
e010eef043
1 changed files with 6 additions and 1 deletions
  1. 6 1
      pandatool/src/progbase/Sources.pp

+ 6 - 1
pandatool/src/progbase/Sources.pp

@@ -8,7 +8,12 @@
     pipeline:c event:c panda:m \
     pipeline:c event:c panda:m \
     pandabase:c pnmimage:c linmath:c putil:c express:c \
     pandabase:c pnmimage:c linmath:c putil:c express:c \
     interrogatedb:c prc:c dconfig:c dtoolconfig:m \
     interrogatedb:c prc:c dconfig:c dtoolconfig:m \
-    dtoolutil:c dtoolbase:c dtool:m
+    dtoolutil:c dtoolbase:c dtool:m \
+    pystub
+
+// We link with pystub so we can include pystub.h here in
+// programBase.cxx, so that every silly little executable in Pandatool
+// doesn't have to include pystub.h.
     
     
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx