fix: use system node headers (--nodedir=/usr) for offline build

This commit is contained in:
2026-06-09 09:59:13 +02:00
parent fdfb46a2d4
commit a029127b26
+1 -1
View File
@@ -43,7 +43,7 @@ ln -srt node_modules/ node_modules_prod/*
ln -srt node_modules/.bin/ node_modules_prod/.bin
%build
USE_SYSTEM_LDAP=1 npm rebuild
USE_SYSTEM_LDAP=1 npm rebuild --nodedir=/usr
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}