rename shared modules from .so to .sl
This commit is contained in:
parent
5246b02f93
commit
446bd88591
1 changed files with 9 additions and 4 deletions
|
@ -1,15 +1,20 @@
|
|||
# $NetBSD: shlib-som.awk,v 1.2 2007/04/21 14:15:59 tnn Exp $
|
||||
# $NetBSD: shlib-som.awk,v 1.3 2007/04/22 19:54:44 tnn Exp $
|
||||
#
|
||||
###
|
||||
### PLIST shlib filter for Spectrum Object Module format, SOM, on HP-UX.
|
||||
###
|
||||
|
||||
# XXX: Nothing here yet. Libtoolized packages don't need any special attention,
|
||||
# but for others we need to manually deal with the .sl library suffix.
|
||||
# Libtoolized packages don't need any special attention, but for others we need
|
||||
# to manually deal with the .sl library suffix.
|
||||
|
||||
# Match shared libs
|
||||
/.*\/lib[^\/]+\.so(\.[0-9]+)*$/ {
|
||||
sub("\.so$", ".sl");
|
||||
sub("\.so\.", ".sl.");
|
||||
}
|
||||
# Match dynamically loaded modules
|
||||
/.*\.so$/ {
|
||||
sub("\.so$", ".sl");
|
||||
}
|
||||
{
|
||||
print
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue