comparison 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
comparison
equal deleted inserted replaced
13:d6cbc8049ab0 14:59f1bd90b2a0
136 # Pyodide's ld does not support -b so we cannot use it to create object 136 # Pyodide's ld does not support -b so we cannot use it to create object
137 # files containing font data, so leave HAVE_OBJCOPY unset. And we need 137 # files containing font data, so leave HAVE_OBJCOPY unset. And we need
138 # extra memory when linking. 138 # extra memory when linking.
139 LDFLAGS += -sTOTAL_MEMORY=48MB 139 LDFLAGS += -sTOTAL_MEMORY=48MB
140 else ifeq ($(OS),Linux) 140 else ifeq ($(OS),Linux)
141 LIB_LDFLAGS = -shared -Wl,-soname,$(notdir $@)
142 else ifeq ($(OS),FreeBSD)
141 LIB_LDFLAGS = -shared -Wl,-soname,$(notdir $@) 143 LIB_LDFLAGS = -shared -Wl,-soname,$(notdir $@)
142 else 144 else
143 LIB_LDFLAGS = -shared 145 LIB_LDFLAGS = -shared
144 endif 146 endif
145 else 147 else