Explorar el Código

dont depend on libc.so if we dont have shared

Mike Frysinger hace 18 años
padre
commit
de2938242d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      Rules.mak

+ 4 - 0
Rules.mak

@@ -61,7 +61,11 @@ LIBC := libc
 SHARED_MAJORNAME := $(LIBC).so.$(MAJOR_VERSION)
 UCLIBC_LDSO := ld-uClibc.so.$(MAJOR_VERSION)
 NONSHARED_LIBNAME := uclibc_nonshared.a
+ifeq ($(HAVE_SHARED),y)
 libc := $(top_builddir)lib/$(SHARED_MAJORNAME)
+else
+libc :=
+endif
 interp := $(top_builddir)lib/interp.os
 ldso := $(top_builddir)lib/$(UCLIBC_LDSO)
 headers_dep := $(top_builddir)include/bits/sysnum.h