Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85578181
D328.1783922628.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
919 B
Referenced Files
None
Subscribers
None
D328.1783922628.diff
View Options
diff --git a/cpp/Makefile b/cpp/Makefile
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -7,11 +7,18 @@
else
CARGO_ARGS =
endif
+ifneq ($(CARGO_TARGET),)
+CARGO_ARGS += --target $(CARGO_TARGET)
+endif
VERSION = 0.2.1
SOVERSION = 3
+ifeq ($(CARGO_TARGET),)
TARGET_DIR = ../target/$(BUILD_TYPE)
+else
+TARGET_DIR = ../target/$(CARGO_TARGET)/$(BUILD_TYPE)
+endif
CXXBRIDGE_DIR = $(TARGET_DIR)/../cxxbridge
STATIC_LIB = $(TARGET_DIR)/libvodozemac.a
ifeq ($(OS), Windows_NT)
@@ -34,6 +41,8 @@
SHARED_LIB_LDFLAGS = -lbcrypt -ladvapi32 -lstdc++ -lkernel32 -ladvapi32 -lntdll -luserenv -lws2_32 -lkernel32 -Wl,--out-implib,$(SHARED_LIB_PREFIX).a
else ifeq ($(UNAME_S),Darwin)
SHARED_LIB_LDFLAGS = -lc++
+else ifeq ($(CARGO_TARGET),aarch64-linux-android)
+SHARED_LIB_LDFLAGS = -lc -lm -lc++_shared -ldl -llog -lunwind -ldl -lm -lc
else
SHARED_LIB_LDFLAGS = -lstdc++ -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc
endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 11:03 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1685928
Default Alt Text
D328.1783922628.diff (919 B)
Attached To
Mode
D328: Make compile for Android
Attached
Detach File
Event Timeline
Log In to Comment