X-Git-Url: http://git.rot13.org/?p=bcm963xx.git;a=blobdiff_plain;f=userapps%2Fopensource%2Flibcreduction%2FMakefile;h=e4766cfd7feadcd78c68e72cdf67d9b794685140;hp=0c073e815fa3d520b8e0af8d5f47f12e41a8e0f5;hb=57a096f051259ceaefd5977f30d269884e1dd248;hpb=9887430fc6b7c0f8eb8e81de2bfe3bba12d8d4a1 diff --git a/userapps/opensource/libcreduction/Makefile b/userapps/opensource/libcreduction/Makefile index 0c073e81..e4766cfd 100755 --- a/userapps/opensource/libcreduction/Makefile +++ b/userapps/opensource/libcreduction/Makefile @@ -39,6 +39,11 @@ endif ifneq ($(LIBOPT),y) TARGETS := $(LIBDIR)/$(LIBC) $(LIBDIR)/$(LINKER) + +ifneq ($(strip $(BUILD_GDBSERVER)),) + TARGETS += $(LIBDIR)/libthread_db.so.1 +endif + # Additional libraries to install include extralibs.mak @@ -92,6 +97,7 @@ all: install: libopt install $(TARGETS) $(INSTALL_DIR)/lib + @cp -f $(LIBDIR)/libdl.so $(INSTALL_DIR)/lib/libdl.so.0 clean: @if [ "$(INSTALL_DIR)" != "" -a "$(INSTALL_DIR)" != "/" ]; then rm -f $(INSTALL_DIR)/lib/*; fi