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 /libm/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 'libm/Makefile')
-rw-r--r-- | libm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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; |