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 --- libm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libm/Makefile') diff --git a/libm/Makefile b/libm/Makefile index 419e365c2..22e6c8e1c 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -52,13 +52,14 @@ tags: ctags -R shared: all - @if [ -f $(LIBM) ] ; then \ + if [ -f $(LIBM) ] ; then \ $(TARGET_CC) $(LDFLAGS) -shared -o $(LIBM_SHARED_FULLNAME) \ -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive \ $(LIBM) $(TOPDIR)lib/$(SHARED_FULLNAME); \ install -d $(TOPDIR)lib; \ rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \ install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \ + (cd $(TOPDIR)lib; ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED)); \ (cd $(TOPDIR)lib; ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED).$(MAJOR_VERSION)); \ fi; -- cgit v1.2.3