Skip to content

Commit

Permalink
eltpatch.in: support slibtoolize
Browse files Browse the repository at this point in the history
Patching ltmain.sh is not applicable when LIBTOOLIZE=slibtoolize which
copies an ltmain.sh script with /dev/null in the shebang.

Gentoo issue: https://bugs.gentoo.org/927823

Signed-off-by: orbea <orbea@riseup.net>
  • Loading branch information
orbea committed May 12, 2024
1 parent 9d08565 commit 4f991cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eltpatch.in
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ elibtoolize() {
fi

# patching ltmain.sh
[[ -f ${d}/ltmain.sh ]] &&
[[ -f ${d}/ltmain.sh ]] && sed -n '1p' ${d}/ltmain.sh | grep -qsv '/dev/null' &&
for p in ${elt_patches} ; do
ret=0

Expand Down

0 comments on commit 4f991cf

Please sign in to comment.