wamrc: Support cross building and linking LLVM shared libs (#1578)
1. Support cross building wamrc and installing it 2. Remove PIE flag for Windows to fix compilation error when compiled by clang 3. Support linking LLVM shared libs to help build with system default or custom LLVM installation and reduce binary size.
This commit is contained in:
@ -26,8 +26,8 @@
|
||||
#include <malloc.h>
|
||||
#include <process.h>
|
||||
#include <winsock2.h>
|
||||
#include <Windows.h>
|
||||
#include <BaseTsd.h>
|
||||
#include <windows.h>
|
||||
#include <basetsd.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user