From c2257da4845de8ccfcccd4309c4a2c489addb14c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 19 Feb 2022 22:39:08 +0100 Subject: Makefile: add support for shared library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mk/linux.mk | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 mk/linux.mk (limited to 'mk/linux.mk') diff --git a/mk/linux.mk b/mk/linux.mk new file mode 100644 index 0000000..10a9461 --- /dev/null +++ b/mk/linux.mk @@ -0,0 +1,7 @@ +LIBEXT = so +LIBFLAGS = -shared -Wl,-soname,libskrift.$(LIBEXT).$(LIB_MAJOR) + +LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR) +LIBMINOREXT = $(LIBEXT).$(LIB_MAJOR).$(LIB_MINOR) + +FIX_INSTALL_NAME = : -- cgit v1.2.3-70-g09d2