Skip to content

Commit

Permalink
Disable memfd_create in libffi
Browse files Browse the repository at this point in the history
Workaround for #138 until we can come up with a better solution.
  • Loading branch information
headius committed Feb 14, 2024
1 parent fb304d5 commit ecbf5ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jni/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ ifdef CONFIGURE_BUILD
LIBFFI_CONFIGURE += --build=$(CONFIGURE_BUILD)
endif

# Disable memfd_create which binds us to newer glibc (jnr/jffi#138)
LIBFFI_CONFIGURE += 'ac_cv_func_memfd_create=no'

all: $(LIBJFFI)

debug:
Expand Down

0 comments on commit ecbf5ed

Please sign in to comment.