diff options
author | Lauri Leukkunen <lle@rahina.org> | 2007-07-25 22:12:23 +0300 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2007-07-25 22:12:23 +0300 |
commit | c6978409d7b4a8624688d1550b0cfd6a7414091b (patch) | |
tree | 5a3b03353a7cad45af9cf2157ffed8f727624be0 | |
parent | 10ee0e3f3e02e761591c575301197f8db5f1f4fe (diff) |
Pass SONAME properly to preload/Makefile1.99.0.11
Also pump the version
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | preload/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ CC = gcc CXX = g++ LD = ld -PACKAGE_VERSION = "1.99.0.10" +PACKAGE_VERSION = "1.99.0.11" PACKAGE = "SB2" LIBSB2_SONAME = "libsb2.so.1" CFLAGS = -O2 -g -Wall -W -I./include -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 diff --git a/preload/Makefile b/preload/Makefile index 53a7d9a..bd8cf63 100644 --- a/preload/Makefile +++ b/preload/Makefile @@ -5,7 +5,7 @@ $(D)/libsb2.so: $(call O,$(objs)) $(D)/libsb2.so: mapping/libmapping.a $(D)/libsb2.so: CFLAGS := $(CFLAGS) -fPIC -Wall -W -$(D)/libsb2.so: LDFLAGS := $(LDFLAGS) -Wl,-soname=libsb2.so.1 +$(D)/libsb2.so: LDFLAGS := $(LDFLAGS) -Wl,-soname=$(LIBSB2_SONAME) $(D)/libsb2.so: LIBS := -ldl -lm -lpthread -lrt targets := $(targets) $(D)/libsb2.so |