libXt: don't install host makestrs in target
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Jun 2008 13:24:04 +0000 (13:24 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Jun 2008 13:24:04 +0000 (13:24 -0000)
package/x11r7/xlib_libXt/xlib_libXt.mk

index 751c12d8a46371bdb45bbdfbd791ebe509decd2b..4962cf6ae64cbbbc862dfdee579cf4d7cc726d02 100644 (file)
@@ -14,3 +14,7 @@ XLIB_LIBXT_CONF_ENV = CC_FOR_BUILD="/usr/bin/gcc -I$(STAGING_DIR)/usr/include"
 XLIB_LIBXT_CONF_OPT = --disable-malloc0returnsnull --enable-shared --disable-static
 
 $(eval $(call AUTOTARGETS,package/x11r7,xlib_libXt))
+
+# the host makestrs shouldn't get installed in target
+$(XLIB_LIBXT_HOOK_POST_INSTALL):
+       rm -f $(TARGET_DIR)/usr/bin/makestrs