From: Ulf Samuelsson Date: Wed, 28 Nov 2007 08:55:40 +0000 (-0000) Subject: Move libdaemon from lib to usr/lib, update libdaemon.la X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5be8b7960a2da1c036d76639aeb61e5315030f2;p=buildroot.git Move libdaemon from lib to usr/lib, update libdaemon.la --- diff --git a/package/libdaemon/libdaemon.mk b/package/libdaemon/libdaemon.mk index 7f77b1b38a..2291d5549e 100644 --- a/package/libdaemon/libdaemon.mk +++ b/package/libdaemon/libdaemon.mk @@ -16,6 +16,7 @@ LIBDAEMON_NAME:=libdaemon-$(LIBDAEMON_VERSION) LIBDAEMON_DIR:=$(BUILD_DIR)/$(LIBDAEMON_NAME) LIBDAEMON_SITE:=http://0pointer.de/lennart/projects/libdaemon/ LIBDAEMON_SOURCE:=$(LIBDAEMON_NAME).tar.gz +LIBDAEMON_DESTDIR:=$(STAGING_DIR)/usr/lib LIBDAEMON_CAT:=$(ZCAT) $(DL_DIR)/$(LIBDAEMON_SOURCE): @@ -42,7 +43,7 @@ $(LIBDAEMON_DIR)/.configured: $(LIBDAEMON_DIR)/.unpacked --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ - --libdir=/lib \ + --libdir=/usr/lib \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --datadir=/usr/share \ @@ -58,17 +59,18 @@ $(LIBDAEMON_DIR)/.configured: $(LIBDAEMON_DIR)/.unpacked touch $@ $(LIBDAEMON_DIR)/.compiled: $(LIBDAEMON_DIR)/.configured - $(MAKE) LIBTOOL=$(LIBDAEMON_DIR)/libtool -C $(LIBDAEMON_DIR) + $(MAKE) $(TARGET_CONFIGURE_OPTS) LIBTOOL=$(LIBDAEMON_DIR)/libtool -C $(LIBDAEMON_DIR) touch $@ -$(STAGING_DIR)/lib/libdaemon.a: $(LIBDAEMON_DIR)/.compiled +$(LIBDAEMON_DESTDIR)/libdaemon.a: $(LIBDAEMON_DIR)/.compiled $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBDAEMON_DIR) install + $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdaemon.la touch -c $@ -#$(TARGET_DIR)/usr/lib/libdaemon.a: $(STAGING_DIR)/lib/libdaemon.a +#$(TARGET_DIR)/usr/lib/libdaemon.a: $(LIBDAEMON_DESTDIR)/libdaemon.a # -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdaemon.a -libdaemon: uclibc pkgconfig $(STAGING_DIR)/lib/libdaemon.a +libdaemon: uclibc pkgconfig $(LIBDAEMON_DESTDIR)/libdaemon.a libdaemon-unpacked: $(LIBDAEMON_DIR)/.unpacked