aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index c27a18b..ce6682d 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,9 @@
-PREFIX = /usr
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS = -std=c99 -Wall -Wextra -O3 $(CPPFLAGS)
LDFLAGS = -s
+
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libsha2.$(LIBEXT).$(LIB_MAJOR)