Fixed bug in library path.

git-svn-id: http://yate.null.ro/svn/yate/trunk@261 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-03-18 18:23:48 +00:00
parent 8123c918b2
commit 72b64d8618
1 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ LDFLAGS:=
LDCONFIG:=true
MKDEPS := ../config.status
YLIB:= ../libyate.so.@PACKAGE_VERSION@
YLIB:= libyate.so.@PACKAGE_VERSION@
EINC := @top_srcdir@/yatengine.h
PINC := @top_srcdir@/yatephone.h
LIBS :=
@ -41,7 +41,7 @@ moddir = @libdir@/yate
confdir = @sysconfdir@/yate
.PHONY: all
all: $(YLIB)
all: ../$(YLIB)
.PHONY: clean
clean:
@ -49,7 +49,7 @@ clean:
.PHONY: strip
strip: all
-strip --strip-debug --discard-locals $(YLIB)
-strip --strip-debug --discard-locals ../$(YLIB)
Engine.o: @srcdir@/Engine.cpp $(MKDEPS) $(EINC) ../yateversn.h ../yatepaths.h
$(COMPILE) -c $<
@ -72,5 +72,5 @@ Thread.o: @srcdir@/Thread.cpp $(MKDEPS) $(EINC)
Makefile: @srcdir@/Makefile.in $(MKDEPS)
cd .. && ./config.status
$(YLIB): $(LIBOBJS) $(LIBS)
$(LINK) -shared -o $@ -Wl,--soname=$@ $(LIBTHR) $^ $(LIBAUX)
../$(YLIB): $(LIBOBJS) $(LIBS)
$(LINK) -shared -o $@ -Wl,--soname=$(YLIB) $(LIBTHR) $^ $(LIBAUX)