2
0
Эх сурвалжийг харах

PHYSX_LIBS depends in platform (windows needs .lib, linux not)

enn0x 16 жил өмнө
parent
commit
1cc8547449
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      dtool/Config.pp

+ 1 - 1
dtool/Config.pp

@@ -894,7 +894,7 @@
 // Info for the Ageia PhysX SDK
 #define PHYSX_IPATH
 #define PHYSX_LPATH
-#define PHYSX_LIBS PhysXLoader.lib NxCharacter.lib NxCooking.lib NxExtensions.lib
+#define PHYSX_LIBS $[if $[WINDOWS_PLATFORM],PhysXLoader.lib NxCharacter.lib NxCooking.lib NxExtensions.lib,PhysXLoader NxCharacter NxCooking]
 #defer HAVE_PHYSX $[libtest $[PHYSX_LPATH],$[PHYSX_LIBS]]
 
 // Info for TinyXML library