diff mupdf-source/Makerules @ 14:59f1bd90b2a0

Use "soname" on FreeBSD also. FreeBSD and Linux are now handled identical with regard to soname and library naming and packaging.
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 17 Sep 2025 20:35:45 +0200
parents fdb709369d57
children baeb8bdeff3a
line wrap: on
line diff
--- a/mupdf-source/Makerules	Wed Sep 17 20:31:46 2025 +0200
+++ b/mupdf-source/Makerules	Wed Sep 17 20:35:45 2025 +0200
@@ -139,6 +139,8 @@
     LDFLAGS += -sTOTAL_MEMORY=48MB
   else ifeq ($(OS),Linux)
     LIB_LDFLAGS = -shared -Wl,-soname,$(notdir $@)
+  else ifeq ($(OS),FreeBSD)
+    LIB_LDFLAGS = -shared -Wl,-soname,$(notdir $@)
   else
     LIB_LDFLAGS = -shared
   endif