From c6978409d7b4a8624688d1550b0cfd6a7414091b Mon Sep 17 00:00:00 2001 From: Lauri Leukkunen Date: Wed, 25 Jul 2007 22:12:23 +0300 Subject: Pass SONAME properly to preload/Makefile Also pump the version Signed-off-by: Lauri Leukkunen --- Makefile | 2 +- preload/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 869b43d..f18ca2e 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3