Browse Source

make_package.py doesn't chew x86_64 as platform name, so I renamed it into amd64

rdb 16 năm trước cách đây
mục cha
commit
4d8ec43ba4
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      direct/src/plugin/p3d_plugin_config.h.pp

+ 5 - 1
direct/src/plugin/p3d_plugin_config.h.pp

@@ -29,7 +29,11 @@
   #if $[WINDOWS_PLATFORM]
     #define P3D_PLUGIN_PLATFORM win32
   #elif $[UNIX_PLATFORM]
-    #define P3D_PLUGIN_PLATFORM linux.$[shell uname -m]
+    #if $[eq $[shell uname -m], x86_64]
+      #define P3D_PLUGIN_PLATFORM linux.amd64
+    #else
+      #define P3D_PLUGIN_PLATFORM linux.i386
+    #endif
   #else
     #define P3D_PLUGIN_PLATFORM osx.i386
   #endif