summaryrefslogtreecommitdiff
path: root/Ports/libuv/package.sh
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2021-11-03 15:29:23 +0100
committerLinus Groh <mail@linusgroh.de>2021-11-14 16:20:55 +0000
commit069e64efd161edc0c9ef92d915672b40c2e38027 (patch)
tree3bb4c0cb9966495acbdc58e3cbbba2d995196ea0 /Ports/libuv/package.sh
parent2c4db837e799878de95ee830c015aaeaed6a8c85 (diff)
downloadserenity-069e64efd161edc0c9ef92d915672b40c2e38027.zip
Ports/libuv: Update libuv to version 1.42.0 and fix cmake argument
Add CMAKE_BUILD_WITH_INSTALL_RPATH=true to the cmake arguments as it wouldn't compile on MacOS without this argument
Diffstat (limited to 'Ports/libuv/package.sh')
-rwxr-xr-xPorts/libuv/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libuv/package.sh b/Ports/libuv/package.sh
index f804c9153c..7dbaa076b3 100755
--- a/Ports/libuv/package.sh
+++ b/Ports/libuv/package.sh
@@ -1,10 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libuv
-version=b12699b1efabfd241324f4ab6cfd6ce576db491e
+version=1.42.0
useconfigure=true
-files="https://github.com/libuv/libuv/archive/$version.tar.gz $port-$version.tar.gz bbbfa2bb50437047efc8fb29c243c914ae0de94107d7cc641c2f84e292904eb5"
+files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz 371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764"
auth_type=sha256
-configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja")
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true")
configure() {
run cmake "${configopts[@]}" .