Browse Source

build on windows

David Rose 21 years ago
parent
commit
d7552a9c76
2 changed files with 5 additions and 1 deletions
  1. 1 1
      pandatool/src/dxf/dxfFile.cxx
  2. 4 0
      pandatool/src/dxfprogs/Sources.pp

+ 1 - 1
pandatool/src/dxf/dxfFile.cxx

@@ -861,7 +861,7 @@ state_entity() {
     break;
 
   case 66:  // Vertices-follow.
-    _vertices_follow = string_to_int(_string, tail);
+    _vertices_follow = (string_to_int(_string, tail) != 0);
     break;
 
   case 70:  // Polyline flags.

+ 4 - 0
pandatool/src/dxfprogs/Sources.pp

@@ -4,6 +4,10 @@
   #define TARGET dxf-points
   #define LOCAL_LIBS \
     progbase dxf
+  #define OTHER_LIBS \
+    linmath:c panda:m \
+    express:c pandaexpress:m \
+    dtoolutil:c dtoolbase:c dconfig:c dtoolconfig:m dtool:m pystub
 
   #define SOURCES \
     dxfPoints.cxx dxfPoints.h