Skip to contentSkip to conversation

Fix autotools instalation with symbols

PATCH RESEND New Paulius Zaleckas 1 participant 1 message Mar 25, 2010

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 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
index 7114bba..a8dd051 100644
@@ -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