--- hdf/src/Makefile.in.orig	2024-02-29 16:34:09 UTC
+++ hdf/src/Makefile.in
@@ -415,7 +415,7 @@ LD = @LD@
 JNIFLAGS = @JNIFLAGS@
 JUNIT = @JUNIT@
 LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -version-number 2
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
