From a17d863945361b067988adb12efee72651905845 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 18 May 2001 20:31:18 +0000 Subject: I wasn't building the libdl shared lib anymore. Make each lib install a libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently only looking for files ending in .so. wierd. -Erik --- ldso/libdl/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ldso') diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index 1e1a0ac36..7d5f27d29 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -34,15 +34,15 @@ OBJS=$(patsubst %.c,%.o, $(CSRC)) CFLAGS += -DUSE_CACHE #-fPIC -D__PIC__ #-funroll-loops -all: $(OBJS) $(LIBDL) +all: $(OBJS) $(LIBDL) shared $(LIBDL): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBDL) $(OBJS) - install -d $(TOPDIR)lib - rm -f $(TOPDIR)lib/$(LIBDL) - install -m 644 $(LIBDL) $(TOPDIR)lib + #install -d $(TOPDIR)lib + #rm -f $(TOPDIR)lib/$(LIBDL) + #install -m 644 $(LIBDL) $(TOPDIR)lib $(OBJS): %.o : %.c $(TARGET_CC) -I../d-link -I../d-link/$(TARGET_ARCH) $(CFLAGS) -c $< -o $@ @@ -57,6 +57,7 @@ shared: all install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBDL_SHARED).$(MAJOR_VERSION) install -m 644 $(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib; + (cd $(TOPDIR)lib; ln -sf $(LIBDL_SHARED_FULLNAME) $(LIBDL_SHARED)); (cd $(TOPDIR)lib; ln -sf $(LIBDL_SHARED_FULLNAME) $(LIBDL_SHARED).$(MAJOR_VERSION)); clean: -- cgit v1.2.3