mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
fix Windows cross-compile build
This commit is contained in:
parent
2659e32b80
commit
36aa74316a
5
makefile
5
makefile
@ -1021,12 +1021,12 @@ endif
|
||||
ifdef embed
|
||||
$(embed): $(embed-objects) $(embed-loader-o)
|
||||
@echo "building $(embed)"
|
||||
$(build-cxx) $(^) -mwindows -mconsole -static -o $(@)
|
||||
$(cxx) $(^) -mwindows -mconsole -static -o $(@)
|
||||
|
||||
$(build-embed)/%.o: $(src)/%.cpp
|
||||
@echo "compiling $(@)"
|
||||
@mkdir -p $(dir $(@))
|
||||
$(build-cxx) -D_UNICODE -DUNICODE -c $(<) -o $(@)
|
||||
$(cxx) -D_UNICODE -DUNICODE -c $(<) -o $(@)
|
||||
|
||||
$(embed-loader-o): $(embed-loader) $(converter)
|
||||
@mkdir -p $(dir $(@))
|
||||
@ -1047,7 +1047,6 @@ $(build-embed-loader)/%.o: $(src)/%.cpp
|
||||
@mkdir -p $(dir $(@))
|
||||
$(cxx) -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/win32 \
|
||||
-D_JNI_IMPLEMENTATION_ -c $(<) -o $(@)
|
||||
|
||||
endif
|
||||
|
||||
$(build)/%.o: $(lzma)/C/%.c
|
||||
|
@ -8,7 +8,7 @@
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user