浏览代码

Make libc depend on ldso

Eric Andersen 22 年之前
父节点
当前提交
ebc043565b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/Makefile

+ 1 - 1
libc/Makefile

@@ -48,7 +48,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
 		/bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh)
 	$(LD) $(LDFLAGS) -o $(SHARED_FULLNAME) -soname=$(SHARED_MAJORNAME) \
 		--dynamic-linker $(DYNAMIC_LINKER) --whole-archive $(LIBNAME) \
-		./tmp/libgcc-need.a
+		./tmp/libgcc-need.a $(LDSO)
 	@/bin/true #rm -rf tmp
 	install -d $(TOPDIR)lib
 	rm -f $(TOPDIR)lib/$(SHARED_FULLNAME)