Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/gettext

Buildroot andersen at uclibc.org 1 participant 1 message Jan 15, 2007

lore
Share & tools
lore
#0 lore raw

Author: andersen
Date: 2007-01-15 13:28:15 -0800 (Mon, 15 Jan 2007) New Revision: 17317

Log:
do not install build stuff into the target unless specifically asked to do so

Modified:
trunk/buildroot/package/gettext/gettext.mk

Changeset:
Modified: trunk/buildroot/package/gettext/gettext.mk
===================================================================

buildroot/package/gettext/gettext.mk +6 -4
@@ -137,12 +137,14 @@
 		$(TARGET_DIR)/usr/include/libintl.h
 	-rmdir $(TARGET_DIR)/usr/include
 
-libintl: $(TARGET_DIR)/lib/libintl.so
-
 $(TARGET_DIR)/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
-	cp -a $(STAGING_DIR)/lib/libintl.so* $(TARGET_DIR)/lib
+	cp -a $(STAGING_DIR)/lib/libgettext*.so* $(TARGET_DIR)/lib/
+	cp -a $(STAGING_DIR)/lib/libintl*.so* $(TARGET_DIR)/lib/
+	rm -f $(TARGET_DIR)/lib/libgettext*.so*.la $(TARGET_DIR)/lib/libintl*.so*.la
 	touch $@
 
+libintl: $(TARGET_DIR)/lib/libintl.so
+
 #############################################################
 #
 # Toplevel Makefile options
@@ -152,5 +154,5 @@
 TARGETS+=libintl
 endif
 ifeq ($(strip $(BR2_PACKAGE_GETTEXT)),y)
-TARGETS+=gettext-target
+TARGETS+=gettext
 endif