From b6db9a56548cd1c41bee309e721d76ea2c9320da Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Fri, 26 Jan 2018 19:43:03 -0600 Subject: PhysX 3.4, APEX 1.4 patch release @23472123 --- APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp') diff --git a/APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp b/APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp index fbc41096..9c933d4d 100644 --- a/APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp +++ b/APEX_1.4/module/clothing/src/ModuleClothingImpl.cpp @@ -62,7 +62,7 @@ namespace nvidia namespace apex { -#if defined(_USRDLL) || PX_OSX +#if defined(_USRDLL) || PX_OSX || (PX_LINUX && APEX_LINUX_SHARED_LIBRARIES) /* Modules don't have to link against the framework, they keep their own */ ApexSDKIntl* gApexSdk = 0; @@ -106,7 +106,7 @@ APEX_API Module* CALL_CONV createModule( return (Module*) impl; } -#else // !defined(_USRDLL) && !PX_OSX +#else // !defined(_USRDLL) && !PX_OSX && (!PX_LINUX || !APEX_LINUX_SHARED_LIBRARIES) /* Statically linking entry function */ void instantiateModuleClothing() @@ -116,7 +116,7 @@ void instantiateModuleClothing() clothing::ModuleClothingImpl* impl = PX_NEW(clothing::ModuleClothingImpl)(sdk); sdk->registerExternalModule((Module*) impl, (ModuleIntl*) impl); } -#endif // !defined(_USRDLL) && !PX_OSX +#endif // !defined(_USRDLL) && !PX_OSX && (!PX_LINUX || !APEX_LINUX_SHARED_LIBRARIES) } namespace clothing -- cgit v1.2.3