From c416ac9e99ad6caa9585d29723afe07ff8991648 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 16 Mar 2014 22:13:45 +0100 Subject: [PATCH] Revert "Stop using -rpath when linking libmovit." Actually, this is seemingly needed to build shared libraries at all. Doh. This reverts commit 05466cbaae2befac3d3ab8bbba614bc08646d3f2. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 76929cd..c056039 100644 --- a/Makefile.in +++ b/Makefile.in @@ -112,7 +112,7 @@ demo: libmovit.la $(DEMO_OBJS) # The library itself. libmovit.la: $(LIB_OBJS:.o=.lo) - $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -version-info $(movit_ltversion) -o $@ $^ $(LDLIBS) + $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(libdir) -version-info $(movit_ltversion) -o $@ $^ $(LDLIBS) %.lo: %.cpp $(LIBTOOL) --mode=compile $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< -- 2.39.2