diff options
Diffstat (limited to 'scripts/versions.awk')
-rw-r--r-- | scripts/versions.awk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/versions.awk b/scripts/versions.awk index 64ac2d9..1c03fd3 100644 --- a/scripts/versions.awk +++ b/scripts/versions.awk @@ -61,7 +61,10 @@ BEGIN { # current library. This is the only place where we print something to # the intermediate file. /^ / { - printf("%s %s %s\n", actlib, actver, $0) | sort; + sortver=actver + # Ensure GLIBC_ versions come always first + sub(/^GLIBC_/," GLIBC_",sortver) + printf("%s %s %s\n", actlib, sortver, $0) | sort; } |