blob: fdfeb8eb25eb3cd40e79416e8a6956c5dfb56d50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- Makefile.orig 2024-05-06 23:04:41 UTC
+++ Makefile
@@ -20,7 +20,7 @@ CFLAGS ?= -O2
CFLAGS ?= -O2
-all: static
+all: shared static
static:
@ CFLAGS="$(CFLAGS)" $(MAKE) -C $(CORE_DIR)
@@ -40,6 +40,7 @@ install:
@ mkdir -p $(DESTINCLUDE_DIR)
install -d $(DESTLIBDIR)
install -m 644 $(LIBDIR)/* $(DESTLIBDIR)
+ ln -fs libdiscord.so.$(ABIVERSION) $(DESTLIBDIR)/libdiscord.so
install -d $(DESTINCLUDE_DIR)
install -m 644 $(INCLUDE_DIR)/*.h $(CORE_DIR)/*.h $(GENCODECS_DIR)/*.h \
$(DESTINCLUDE_DIR)
@@ -48,6 +49,7 @@ uninstall:
rm -rf $(PREFIX)/include/concord
rm -rf $(PREFIX)/lib/libdiscord.a
rm -rf $(PREFIX)/lib/libdiscord.so
+ rm -rf $(PREFIX)/lib/libdiscord.so.$(ABIVERSION)
rm -rf $(PREFIX)/lib/libdiscord.dylib
docs:
|