We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06a678e commit e6b3698Copy full SHA for e6b3698
Makefile
@@ -23,14 +23,15 @@ RANLIB = ranlib
23
UNAME_S := $(shell uname -s)
24
ifeq ($(UNAME_S),Linux)
25
SED_I = sed -i
26
- LIBFILE = lib$(LIBNAME).so.$(VERSION)
+ libfilename = lib$1.so.$2
27
soname = -Wl,-soname,$1
28
endif
29
ifeq ($(UNAME_S),Darwin)
30
SED_I = sed -i''
31
- LIBFILE = lib$(LIBNAME).$(VERSION).dylib
+ libfilename = lib$1.$2.dylib
32
soname = -Wl,-install_name,@rpath/$1
33
34
+LIBFILE = $(call libfilename,$(LIBNAME),$(VERSION))
35
LIBLINK = $(subst .$(VERSION),,$(LIBFILE))
36
37
ifndef CFLAGS
0 commit comments