diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-20 03:16:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-20 03:16:32 +0000 |
commit | af2603143fb1f93ba2e59628bdf899cbe37bd02a (patch) | |
tree | c35638e2cdf483adbec9ef10b7332c17d2d7f314 /Makeconfig | |
parent | 0ecdeb26c013a2aedd0b5e449aaa925a48bb62e6 (diff) | |
download | glibc-af2603143fb1f93ba2e59628bdf899cbe37bd02a.zip glibc-af2603143fb1f93ba2e59628bdf899cbe37bd02a.tar.gz glibc-af2603143fb1f93ba2e59628bdf899cbe37bd02a.tar.bz2 |
* Makeconfig (soversion.i): Use only first match for each lib.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -689,8 +689,11 @@ $(common-objpfx)soversions.i: $(..)shlib-versions $(..)Makeconfig \ test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \ : "$$conf"` != 0 || continue; \ lib=`echo $$version | sed 's/=.*$$//'`; \ - number=`echo $$version | sed "s/^.*=//"`; \ - echo $$lib $$number $$setname; \ + if eval test -z "\$${versioned_$${lib}}"; then \ + eval versioned_$${lib}=yes; \ + number=`echo $$version | sed "s/^.*=//"`; \ + echo $$lib $$number $$setname; \ + fi; \ done > $@T; exit 0 mv -f $@T $@ $(common-objpfx)soversions.mk: $(common-objpfx)soversions.i |