Skip to content

Commit

Permalink
Add the built libnode.so to the package
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Mar 4, 2024
1 parent e26f938 commit 5bba40f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/archlinux/nodejs-shared/PKGBUILD.gen
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ for d in gcc make icu pkgconf debugedit; do
done
sed -i 's/^makedepends=\(.*\)$/makedepends=\1\nmakedepends+=('"$EXTRA_makedepends"')/' "$SHARED"

sed -i 's,^\(\s\+\)\(install.*LICENSE.*\)$,\1\2\n\n\1cd "$pkgdir"/usr/lib\n\1ln -s libnode.so.* libnode.so,' "$SHARED"

if diff 1>&2 "$ORIGINAL" "$SHARED"; then
echo 1>&2 "unexpectedly similar files!"
exit 1
Expand Down

0 comments on commit 5bba40f

Please sign in to comment.