diff --git a/external/expat/ExternalProject_expat.mk b/external/expat/ExternalProject_expat.mk index 6b9377fe3146..dc58d9991e1b 100644 --- a/external/expat/ExternalProject_expat.mk +++ b/external/expat/ExternalProject_expat.mk @@ -18,6 +18,7 @@ $(call gb_ExternalProject_get_state_target,expat,configure) : $(call gb_ExternalProject_run,configure,\ $(gb_RUN_CONFIGURE) ./configure --without-docbook --without-getentropy \ --without-arc4random --without-arc4random-buf \ + --without-getrandom --without-sys-getrandom \ $(gb_CONFIGURE_PLATFORMS) \ $(if $(CROSS_COMPILING),$(if $(filter INTEL ARM,$(CPUNAME)),ac_cv_c_bigendian=no)) \ ,,expat_configure.log) diff --git a/external/expat/StaticLibrary_expat.mk b/external/expat/StaticLibrary_expat.mk index 5e9e20ef89c3..4814dd7a8abc 100644 --- a/external/expat/StaticLibrary_expat.mk +++ b/external/expat/StaticLibrary_expat.mk @@ -42,18 +42,13 @@ $(eval $(call gb_StaticLibrary_add_defs,expat,\ )) endif -ifeq ($(OS),MACOSX) -$(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ - UnpackedTarball/expat/lib/random_dev_urandom \ -)) -else ifeq ($(OS),WNT) +ifeq ($(OS),WNT) $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ UnpackedTarball/expat/lib/random_rand_s \ )) else $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ UnpackedTarball/expat/lib/random_dev_urandom \ - UnpackedTarball/expat/lib/random_getrandom \ )) endif