From: Nathan Scott Date: Wed, 18 Jul 2001 09:20:56 +0000 (+0000) Subject: install the right libtool archive this time. X-Git-Tag: v2.0.0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b82b560d2a626c7638615e7624f99fc0f1fd7a2;p=thirdparty%2Fxfsprogs-dev.git install the right libtool archive this time. --- diff --git a/include/builddefs.in b/include/builddefs.in index af0e360e8..1e0d22f73 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -145,7 +145,8 @@ ifeq ($(ENABLE_SHARED),yes) INSTALL_LTLIB_DEV = \ cd $(TOPDIR)/$(LIBNAME)/.libs; \ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ - ../$(INSTALL) -m 644 $(LIBNAME).a $(LIBNAME).la $(PKG_LIB_DIR); \ + ../$(INSTALL) -m 644 $(LIBNAME).a $(PKG_LIB_DIR); \ + ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la; \ ../$(INSTALL) -S $(LIBNAME).so.$(LT_CURRENT) $(PKG_LIB_DIR)/$(LIBNAME).so else INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) diff --git a/include/buildrules b/include/buildrules index ce87ad972..e4c6af2b4 100644 --- a/include/buildrules +++ b/include/buildrules @@ -49,7 +49,7 @@ endif ifdef LTLIBRARY $(LTLIBRARY) : $(SUBDIRS) $(LTOBJECTS) - $(LTLINK) $(LTLDFLAGS) -o $(LTLIBRARY) $(LTOBJECTS) + $(LTLINK) $(LTLDFLAGS) -o $(LTLIBRARY) $(LTOBJECTS) $(LTLIBS) %.lo: %.c $(LTCOMPILE) -c $<