diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-18 20:31:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-18 20:31:18 +0000 |
commit | a17d863945361b067988adb12efee72651905845 (patch) | |
tree | 2432d7203560ed134104d04bf48c60bd3c472154 /ldso/libdl/Makefile | |
parent | d13d4ad946a8e6e6b209e0fe6fee5d93bd38e3e2 (diff) |
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
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r-- | ldso/libdl/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
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: |