Fix autotools instalation with symbols
PATCH 1/1 Fix autotools instalation with symbols
When installing without symbols install-strip is used, with symbols - install-exec.
Since install-exec installs only executables, we should use simple install, to install other needed files also (like files in /usr/shared) as install-strip does.
---
package/Makefile.autotools.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.autotools.in +1 -1
@@ -60,7 +60,7 @@ $(2)_LIBTOOL_PATCH ?= YES $(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO) $(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install ifeq ($(BR2_ENABLE_DEBUG),y) -$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-exec +$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install else $(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip endif
PATCH 1/1 package: fix unstripped binary installation
From: Lionel Landwerlin <[email protected]>
--- package/Makefile.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.in +1 -1
@@ -163,7 +163,7 @@ TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip STRIPCMD=$(TARGET_STRIP) endif ifeq ($(BR2_STRIP_none),y) -TARGET_STRIP=true Not_stripping +TARGET_STRIP=true STRIPCMD=$(TARGET_STRIP) endif INSTALL:=$(shell which install || type -p install)
Signature · 1 line
1.6.5.7
PATCH 1/1 Fix autotools instalation with symbols
In reply to Paulius ZaleckasLe mardi 19 janvier 2010 ? 21:32 +0200, Paulius Zaleckas a ?crit :
Quoted 5 lines
When installing without symbols install-strip is used, with symbols - install-exec.
Since install-exec installs only executables, we should use simple install, to install other needed files also (like files in/usr/shared) as install-strip does.
Fully agree !
As well libraries' plugins aren't installed with install-exec (directfb gfxdrivers for examples). So we really need install-strip or install instead of install-exec.