]> git.sesse.net Git - movit/commitdiff
Stop using -rpath when linking libmovit.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Mar 2014 19:12:11 +0000 (20:12 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Mar 2014 19:12:11 +0000 (20:12 +0100)
This was from pre-libtool days, and makes no sense now. Plus it seems to have
no actual effect.

Makefile.in

index 7181a1d4699c10495da0271948ae87b076fea11f..f82be17d422468f45a4eca3362eb72a565e5ae00 100644 (file)
@@ -109,7 +109,7 @@ demo: libmovit.la $(DEMO_OBJS)
 
 # The library itself.
 libmovit.la: $(LIB_OBJS:.o=.lo)
 
 # The library itself.
 libmovit.la: $(LIB_OBJS:.o=.lo)
-       $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(libdir) -version-info $(movit_ltversion) -o $@ $^ $(LDLIBS)
+       $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -version-info $(movit_ltversion) -o $@ $^ $(LDLIBS)
 
 %.lo: %.cpp
        $(LIBTOOL) --mode=compile $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
 %.lo: %.cpp
        $(LIBTOOL) --mode=compile $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<