From 955c676064ede645ed870ed7f7cfd205fc293108 Mon Sep 17 00:00:00 2001 From: illiliti Date: Mon, 28 Mar 2022 13:45:48 +0300 Subject: [PATCH] nodejs: drop KISS_ROOT usage --- extra/nodejs/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/nodejs/build b/extra/nodejs/build index aeb8310e..e04f7fcb 100755 --- a/extra/nodejs/build +++ b/extra/nodejs/build @@ -3,10 +3,10 @@ # Fix build when libatomic.so does not exist in the system. # This may be provided by compiler-rt which requires no additional # linker flags to be used. -[ -r "$KISS_ROOT/usr/lib/libatomic.so" ] || { +case $("$CC" -print-file-name=libatomic.so) in */*) ;; *) sed 's/-latomic//' node.gyp > _ mv -f _ node.gyp -} +esac ./configure \ --shared-zlib \