Skip to content

Commit

Permalink
build: dylink.sh: tolerate absence of -p (re: 6e01138, 41dfd03)
Browse files Browse the repository at this point in the history
The first referenced commit made it impossible to use the current
build system to build the old commits between the two referenced
commmits, because those older commits don't pass the -p option.
For backward compatibility, tolerate its absence with a warning.
  • Loading branch information
McDutchie committed Nov 26, 2024
1 parent 0580ac1 commit 02c0587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd/INIT/dylink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ esac
case ${module_name:+m}${prefix+p}${suffix+s}${version:+v} in
'' | mpsv )
;;
msv) note "warning: -p not given; assuming -p lib for backward compat"
prefix=lib ;;
*) err_out "-m requires -v/-p/-s and vice versa" ;;
esac

Expand Down

0 comments on commit 02c0587

Please sign in to comment.