summaryrefslogtreecommitdiff
path: root/preload/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'preload/Makefile')
-rw-r--r--preload/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/preload/Makefile b/preload/Makefile
index 77181ae..e0ee8f8 100644
--- a/preload/Makefile
+++ b/preload/Makefile
@@ -1,14 +1,14 @@
objs := libsb2.o libsb_env.o sb_exec.o
-preload/libsb2.so: $(call llep,$(objs))
- $(llbuild_link_shlib)
+preload/libsb2.so.$(PACKAGE_VERSION): $(call llep,$(objs))
+ $(call llbuild_link_shlib,$(LIBSB2_SONAME))
-preload/libsb2.so: mapping/libmapping.a
+preload/libsb2.so.$(PACKAGE_VERSION): mapping/libmapping.a
-preload/libsb2.so: CFLAGS := $(CFLAGS) -fPIC -Wall -W
-preload/libsb2.so: LDFLAGS := $(LDFLAGS)
-preload/libsb2.so: LIBS := -ldl -lm -lpthread -lrt
+preload/libsb2.so.$(PACKAGE_VERSION): CFLAGS := $(CFLAGS) -fPIC -Wall -W
+preload/libsb2.so.$(PACKAGE_VERSION): LDFLAGS := $(LDFLAGS)
+preload/libsb2.so.$(PACKAGE_VERSION): LIBS := -ldl -lm -lpthread -lrt
-targets += preload/libsb2.so
+targets += preload/libsb2.so.$(PACKAGE_VERSION)