Static link fix
This commit is contained in:
@@ -238,7 +238,7 @@
|
||||
<file name="src/ui/WindowEvent.cpp" />
|
||||
<file name="src/utils/Bytes.cpp" />
|
||||
|
||||
<file name="src/hx/CFFIExt.cpp" unless="static_link" />
|
||||
<file name="src/hx/CFFIExt.cpp" />
|
||||
|
||||
</files>
|
||||
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
|
||||
#include <hx/CFFI.h>
|
||||
|
||||
#ifdef STATIC_LINK
|
||||
void *LoadFunc(const char *inName) { return 0; }
|
||||
#else
|
||||
extern void *LoadFunc(const char *inName);
|
||||
#endif
|
||||
|
||||
#ifdef IMPLEMENT_CFFI_EXT
|
||||
#define DEFFUNC_EXT(name,ret,def_args,call_args) \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#define IMPLEMENT_CFFI_EXT
|
||||
|
||||
#include <hx/CFFIExt.h>
|
||||
#include <hx/CFFIExt.h>
|
||||
|
||||
Reference in New Issue
Block a user