aboutsummaryrefslogtreecommitdiffstats
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-08 16:56:42 +0200
committerMattias Andrée <maandree@kth.se>2021-04-08 16:56:42 +0200
commitb2da2d6f15e28b755f22bb5557e8c79b3abacd7e (patch)
tree05ad6f7e0b54a6864a5372353ce9da4ed89ea33e /mk/linux.mk
parentlibcontacts_save_contact: create directory if missing (diff)
downloadlibcontacts-b2da2d6f15e28b755f22bb5557e8c79b3abacd7e.tar.gz
libcontacts-b2da2d6f15e28b755f22bb5557e8c79b3abacd7e.tar.bz2
libcontacts-b2da2d6f15e28b755f22bb5557e8c79b3abacd7e.tar.xz
Add build of dynamically linked library
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/linux.mk')
-rw-r--r--mk/linux.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/linux.mk b/mk/linux.mk
new file mode 100644
index 0000000..e248fc9
--- /dev/null
+++ b/mk/linux.mk
@@ -0,0 +1,4 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libcontacts.$(LIBEXT).$(LIB_MAJOR)
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)