diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-12-03 21:20:15 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-12-03 21:20:15 +0000 |
commit | c80a17311c6969658af5260d74d8269a25f84ea5 (patch) | |
tree | 77dfe8230779123061fa1f845600d682101659f8 /newlib | |
parent | e51613764b9f4af9c12616725d7d0ae9594af59e (diff) | |
download | newlib-c80a17311c6969658af5260d74d8269a25f84ea5.zip newlib-c80a17311c6969658af5260d74d8269a25f84ea5.tar.gz newlib-c80a17311c6969658af5260d74d8269a25f84ea5.tar.bz2 |
2004-12-03 Shaun Jackman <sjackman@gmail.com>
* libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
our link to use readlink so as to preserve any relative link created
by install-toollibLIBRARIES.
* libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-rw-r--r-- | newlib/libc/sys/linux/linuxthreads/Makefile.am | 9 | ||||
-rw-r--r-- | newlib/libc/sys/linux/linuxthreads/Makefile.in | 9 |
3 files changed, 19 insertions, 6 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 260488d..f38a795 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2004-12-03 Shaun Jackman <sjackman@gmail.com> + + * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix + our link to use readlink so as to preserve any relative link created + by install-toollibLIBRARIES. + * libc/sys/linux/linuxthreads/Makefile.in: Regenerated. + 2004-12-02 Shaun Jackman <sjackman@gmail.com> * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.am b/newlib/libc/sys/linux/linuxthreads/Makefile.am index a47cecc..0122d66 100644 --- a/newlib/libc/sys/linux/linuxthreads/Makefile.am +++ b/newlib/libc/sys/linux/linuxthreads/Makefile.am @@ -53,8 +53,8 @@ SUBDIRS = machine . tooldir = $(tooldir) toollibdir = $(top_toollibdir) -libpthread_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld `cat extra-libtool-objlist` -libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld +libpthread_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -lgcc -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld `cat extra-libtool-objlist` +libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -lgcc -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld if USE_LIBTOOL @@ -91,7 +91,10 @@ doc: install-data-local: install-toollibLIBRARIES -rm -f $(DESTDIR)$(toollibdir)/libthread_db.so.1 - ln -s $(DESTDIR)$(toollibdir)/libthread_db.so $(DESTDIR)$(toollibdir)/libthread_db.so.1 || cp $(DESTDIR)$(toollibdir)/libthread_db.so $(DESTDIR)$(toollibdir)/libthread_db.so.1 + ln -s `readlink $(DESTDIR)$(toollibdir)/libthread_db.so` \ + $(DESTDIR)$(toollibdir)/libthread_db.so.1 \ + || cp $(DESTDIR)$(toollibdir)/libthread_db.so \ + $(DESTDIR)$(toollibdir)/libthread_db.so.1 AM_CFLAGS = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 ACLOCAL_AMFLAGS = -I ../../../.. diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.in b/newlib/libc/sys/linux/linuxthreads/Makefile.in index 232c001..d957b05 100644 --- a/newlib/libc/sys/linux/linuxthreads/Makefile.in +++ b/newlib/libc/sys/linux/linuxthreads/Makefile.in @@ -123,8 +123,8 @@ SUBDIRS = machine . tooldir = $(tooldir) toollibdir = $(top_toollibdir) -libpthread_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld `cat extra-libtool-objlist` -libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld +libpthread_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -lgcc -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld `cat extra-libtool-objlist` +libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -lgcc -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/../shared.ld @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libpthread.la libthread_db.la @USE_LIBTOOL_TRUE@libpthread_la_SOURCES = $(LIB_SOURCES) @@ -642,7 +642,10 @@ doc: install-data-local: install-toollibLIBRARIES -rm -f $(DESTDIR)$(toollibdir)/libthread_db.so.1 - ln -s $(DESTDIR)$(toollibdir)/libthread_db.so $(DESTDIR)$(toollibdir)/libthread_db.so.1 || cp $(DESTDIR)$(toollibdir)/libthread_db.so $(DESTDIR)$(toollibdir)/libthread_db.so.1 + ln -s `readlink $(DESTDIR)$(toollibdir)/libthread_db.so` \ + $(DESTDIR)$(toollibdir)/libthread_db.so.1 \ + || cp $(DESTDIR)$(toollibdir)/libthread_db.so \ + $(DESTDIR)$(toollibdir)/libthread_db.so.1 pt-initfini.s: $(srcdir)/pt-initfini.c $(CC) -S $(CFLAGS_pt_initfini) -finhibit-size-directive \ |