[packages/zigbee2mqtt] pass --nodedir during configure
atler
atler at pld-linux.org
Sat Jul 19 14:43:40 CEST 2025
commit 71e7f5395cb715be3deb8fafd96ebd3f94141810
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jul 19 14:42:45 2025 +0200
pass --nodedir during configure
so build can find nodejs' headers
zigbee2mqtt.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/zigbee2mqtt.spec b/zigbee2mqtt.spec
index b1abeb6..2ae8735 100644
--- a/zigbee2mqtt.spec
+++ b/zigbee2mqtt.spec
@@ -55,7 +55,7 @@ export CFLAGS="%{rpmcflags}"
export CXXFLAGS="%{rpmcxxflags}"
export LDFLAGS="%{rpmldflags}"
for mod in %built_modules; do
- node-gyp -C node_modules/$mod configure
+ node-gyp -C node_modules/$mod --nodedir=/usr configure
node-gyp -C node_modules/$mod --release --verbose -j %{__jobs} build
done
npm run build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zigbee2mqtt.git/commitdiff/71e7f5395cb715be3deb8fafd96ebd3f94141810
More information about the pld-cvs-commit
mailing list