Skip to content

Commit

Permalink
fix armv7 libffi build
Browse files Browse the repository at this point in the history
  • Loading branch information
michalgr committed Sep 12, 2024
1 parent dd56f92 commit 941ff8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/ffi/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

$(eval $(call project-define,ffi))

FFI_EXTRA_LDFLAGS = -Wl,--undefined-version

$(FFI_ANDROID):
cd $(FFI_ANDROID_BUILD_DIR) && make install -j $(THREADS)
cp $(FFI_SRCS)/LICENSE $(ANDROID_OUT_DIR)/licenses/ffi
Expand All @@ -13,7 +15,7 @@ $(FFI_HOST):

$(FFI_ANDROID_BUILD_DIR): $(ANDROID_CONFIG_SITE)
mkdir -p $@
cd $@ && $(FFI_SRCS)/configure $(ANDROID_EXTRA_CONFIGURE_FLAGS)
cd $@ && EXTRA_LDFLAGS=$(FFI_EXTRA_LDFLAGS) $(FFI_SRCS)/configure $(ANDROID_EXTRA_CONFIGURE_FLAGS)

$(FFI_HOST_BUILD_DIR): $(HOST_CONFIG_SITE)
mkdir -p $@
Expand Down

0 comments on commit 941ff8d

Please sign in to comment.