--- configure.orig	2023-07-14 09:06:29.000000000 -0400
+++ configure	2024-08-31 21:11:56.983180500 -0400
@@ -876,7 +876,7 @@
   RHASH_TEST_OPTIONS=--shared
   test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
   test "$INSTALL_LIB_STATIC" = "yes"  && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
-  RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
+  RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
 else
   LIBRHASH_TYPE=static
   LIBRHASH_PATH="\$(LIBRHASH_STATIC)"
@@ -971,6 +971,7 @@
 RM_FILES         = $LIBRHASH_RM_FILES
 BUILD_TYPE       = $LIBRHASH_TYPE
 EXEC_EXT         = $EXEC_EXT
+LN_S             = $LN_S

 EXPORTS_TARGET   = $LIBRHASH_EXPORTS_TARGET
 BUILD_TARGETS    = $LIBRHASH_BUILD_TARGETS
--- librhash/Makefile.orig	2023-07-14 09:06:29.000000000 -0400
+++ librhash/Makefile	2024-08-31 22:44:21.763024400 -0400
@@ -29,7 +29,7 @@
 	$(INSTALL_SHARED) $(LIBRHASH_SHARED) $(SO_DIR)/
 	test "x$(LIBRHASH_SO_MAJ)" != "x$(LIBRHASH_SHARED)" && \
 	  rm -f $(LIBDIR)/$(LIBRHASH_SO_MAJ) && \
-	  ln -s $(LIBRHASH_SHARED) $(LIBDIR)/$(LIBRHASH_SO_MAJ)
+	  $(LN_S) $(LIBRHASH_SHARED) $(LIBDIR)/$(LIBRHASH_SO_MAJ)

 install-implib:
 	$(INSTALL) -d $(LIBDIR)
@@ -38,7 +38,7 @@
 install-so-link:
 	$(INSTALL) -d $(LIBDIR)
 	rm -f $(LIBDIR)/$(LIBRHASH_SOLINK)
-	ln -s $(LIBRHASH_SO_MAJ) $(LIBDIR)/$(LIBRHASH_SOLINK)
+	$(LN_S) $(LIBRHASH_SO_MAJ) $(LIBDIR)/$(LIBRHASH_SOLINK)

 uninstall-lib-static: uninstall-lib-headers
 	rm -f $(LIBDIR)/$(LIBRHASH_STATIC)
@@ -177,9 +177,9 @@
 $(LIBRHASH_SOLINK):
 	test "x$(LIBRHASH_SO_MAJ)" != "x$(LIBRHASH_SHARED)" && \
 	  rm -f $(LIBRHASH_SO_MAJ) && \
-	  ln -s $(LIBRHASH_SHARED) $(LIBRHASH_SO_MAJ)
+	  $(LN_S) $(LIBRHASH_SHARED) $(LIBRHASH_SO_MAJ)
 	rm -f $(LIBRHASH_SOLINK)
-	ln -s $(LIBRHASH_SO_MAJ) $(LIBRHASH_SOLINK)
+	$(LN_S) $(LIBRHASH_SO_MAJ) $(LIBRHASH_SOLINK)

 $(LIBRHASH_SHARED): $(SOURCES) $(EXPORTS_TARGET) $(SOLINK_TARGET)
 	$(CC) $(SHARED_CFLAGS) $(VERSION_CFLAGS) $(SOURCES) $(SHARED_LDFLAGS) -o $@
