diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-19 22:39:08 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-19 22:39:08 +0100 |
commit | c2257da4845de8ccfcccd4309c4a2c489addb14c (patch) | |
tree | 153f13b442eff6e87a63303aef1993073cd01f00 /mk/linux.mk | |
parent | Use c99 instead of cc -std=c99 (diff) | |
download | libskrift-c2257da4845de8ccfcccd4309c4a2c489addb14c.tar.gz libskrift-c2257da4845de8ccfcccd4309c4a2c489addb14c.tar.bz2 libskrift-c2257da4845de8ccfcccd4309c4a2c489addb14c.tar.xz |
Makefile: add support for shared library
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | mk/linux.mk | 7 |
1 files changed, 7 insertions, 0 deletions
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 = : |