brought back functionality from previous builds but now cross-platform
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "build/tools/public/target.h"
|
||||
#include "target.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "helper.h"
|
||||
@@ -16,7 +17,7 @@ bool bStaticBuild = false;
|
||||
|
||||
extern "C" void Preinit()
|
||||
{
|
||||
if (Target_t::DefaultTarget().kernel == TARGET_KERNEL_IOS)
|
||||
if (Target_t::DefaultTarget().kernel == TARGET_KERNEL_IOS || Target_t::DefaultTarget().kernel == TARGET_KERNEL_WINDOWS)
|
||||
{
|
||||
bStaticBuild = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user