瀏覽代碼

toolchain-external: fix installation of libthread_db

Whatever the gdbserver source, as long as it's installed on the target,
assume it requires libthread_db.

Signed-off-by: Richard Braun <rbraun@sceen.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Richard Braun 12 年之前
父節點
當前提交
696365f69b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      toolchain/toolchain-external/ext-tool.mk

+ 1 - 1
toolchain/toolchain-external/ext-tool.mk

@@ -61,7 +61,7 @@ endif
 
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
 LIB_EXTERNAL_LIBS+=libpthread.so
-ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
+ifneq ($(BR2_PACKAGE_GDB_SERVER)$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),)
 LIB_EXTERNAL_LIBS+=libthread_db.so
 endif # gdbserver
 endif # ! no threads