biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / rhash / do-link-so.patch
blobd75df2d048cdb0ca5cef2c38bb1f5bffdacd919e
1 From b8c91ea6551e99e10352386cd46ea26973bb4a4d Mon Sep 17 00:00:00 2001
2 From: Aleksey Kravchenko <rhash.admin@gmail.com>
3 Date: Mon, 11 Sep 2023 03:49:20 +0300
4 Subject: [PATCH] Fix #238: Build on Unix
6 ---
7 librhash/Makefile | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/librhash/Makefile b/librhash/Makefile
11 index e8ee862..34f1263 100644
12 --- a/librhash/Makefile
13 +++ b/librhash/Makefile
14 @@ -27,7 +27,7 @@ install-lib-static: $(LIBRHASH_STATIC)
15 install-lib-shared: $(LIBRHASH_SHARED) $(EXTRA_INSTALL_LIBSHARED)
16 $(INSTALL) -d $(SO_DIR)
17 $(INSTALL_SHARED) $(LIBRHASH_SHARED) $(SO_DIR)/
18 - test "x$(LIBRHASH_SO_MAJ)" != "x$(LIBRHASH_SHARED)" || ( \
19 + test "x$(LIBRHASH_SO_MAJ)" = "x$(LIBRHASH_SHARED)" || ( \
20 rm -f $(LIBDIR)/$(LIBRHASH_SO_MAJ) && \
21 ln -s $(LIBRHASH_SHARED) $(LIBDIR)/$(LIBRHASH_SO_MAJ) )