Changeset 33479


Ignore:
Timestamp:
2012-09-19T17:13:50+02:00 (5 years ago)
Author:
florian
Message:

[package] gdb: gdbserver package dependency fix (#11179)

In the current trunk, gdbserver is not building anymore (with EGLIBC 2.15
selected) due to a missing dependency:
Package gdbserver is missing dependencies for the following libraries:
libthread_db.so.1

In order to fix it, the system shared lib libthread_db.so.1 is copied from
the toolchain lib dir into the gdb package target structure (/usr/lib) to
pass the dependency checks.
This patch was (quickly) reviewed by Paul Fertser on IRC.

Signed-off-by: xxiao <xxiao@…>
Signed-off-by: Matthieu Boujonnier <openwrt-devel@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/gdb/Makefile

    r30543 r33479  
    7878        $(INSTALL_DIR) $(1)/usr/bin 
    7979        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/ 
     80ifneq ($(CONFIG_USE_EGLIBC),) 
     81        $(INSTALL_DIR) $(1)/usr/lib 
     82        $(CP) $(TOOLCHAIN_DIR)/lib/libthread_db* $(1)/usr/lib 
     83endif 
    8084endef 
    8185 
Note: See TracChangeset for help on using the changeset viewer.