]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
move runtime path.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Dec 2007 17:46:18 +0000 (17:46 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Dec 2007 17:46:18 +0000 (17:46 +0000)
git-svn-id: file:///svn/unbound/trunk@798 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in

index d724a4c53b63c3b3861b4493cb519795de4584f4..307d93bdbd31eb116ab63c634f2794851acde344 100644 (file)
@@ -97,7 +97,7 @@ ALL_OBJ=$(addprefix $(BUILD),$(ALL_SRC:.c=.o) \
 
 COMPILE=$(LIBTOOL) --tag=CC --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS)
 LINK=$(LIBTOOL) --tag=CC --mode=link $(CC) $(staticexe) $(RUNTIME_PATH) $(CFLAGS) $(LDFLAGS)
-LINK_LIB=$(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(staticexe) -release $(VERSION) -no-undefined
+LINK_LIB=$(LIBTOOL) --tag=CC --mode=link $(CC) $(RUNTIME_PATH) $(CFLAGS) $(LDFLAGS) $(staticexe) -release $(VERSION) -no-undefined
 
 .PHONY:        clean realclean doc lint all install uninstall tests test download_ldns strip lib
 
@@ -119,7 +119,7 @@ lib:        libunbound.la
 
 libunbound.la: $(LIBUNBOUND_OBJ)
        $(INFO) Link $@
-       $Q$(LINK_LIB) --export-symbols $(srcdir)/libunbound/ubsyms.def -o $@ $(sort $(LIBUNBOUND_OBJ:.o=.lo)) -rpath $(libdir) $(RUNTIME_PATH)
+       $Q$(LINK_LIB) --export-symbols $(srcdir)/libunbound/ubsyms.def -o $@ $(sort $(LIBUNBOUND_OBJ:.o=.lo)) -rpath $(libdir)
 
 ifeq ($(patsubst ldns-src%,ldns-src,$(ldnsdir)),ldns-src)
 ldnslib=$(ldnsdir)/lib/libldns.a