https://bugs.gentoo.org/913723
https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53

--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -118,10 +118,8 @@ clean-local:
 	CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) cargo clean $(CARGO_VERBOSE) $(CARGO_RELEASE_ARGS)
 	rm -f $(CARGO_TARGET_DIR)/.rustc_info.json
 
-# The use of --all-static is necesary for the RUST_LIB
 libopenraw_la_LDFLAGS = \
 	-version-info @LIBOPENRAW_VERSION_INFO@ \
-	--all-static \
 	-lpthread -ldl
 libopenraw_la_LIBADD = -ljpeg $(RUST_LIB) libopenraw_internals.la
 libopenraw_la_SOURCES = \
