Restore the previous form of the "libtool --mode=install" command
authornbk <nbk>
Thu, 23 Mar 2006 11:17:46 +0000 (11:17 +0000)
committernbk <nbk>
Thu, 23 Mar 2006 11:17:46 +0000 (11:17 +0000)
because it's reported to break building inside a rpmbuild environment.

src/lib/Makefile
src/modules/rlm_eap/libeap/Makefile

index 792a3d9..903dce8 100644 (file)
@@ -48,6 +48,7 @@ clean:
        rm -rf .libs
 
 install: all
-       $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)
+       $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \
+               $(R)$(libdir)/$(TARGET).la
        rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
        ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la
index 56b6fb4..7f04e96 100644 (file)
@@ -38,6 +38,7 @@ clean:
        rm -rf .libs
 
 install: all
-       $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la $(R)$(libdir)
+       $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \
+               $(R)$(libdir)/$(TARGET).la
        rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
        ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la