Fix v8 symlinks

Resolves: rhbz#2163346

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-01-23 15:24:28 -05:00
parent bd35f75e9f
commit 443d608e13
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 2 additions and 2 deletions

View File

@ -592,7 +592,7 @@ ln -srf %{buildroot}%{_libdir}/libnode.so.%{nodejs_soversion} \
# Install v8 compatibility symlinks # Install v8 compatibility symlinks
for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do
header=$(basename ${header}) header=$(basename ${header})
ln -srf ./node/${header} %{buildroot}%{_includedir}/${header} ln -sf ./node/${header} %{buildroot}%{_includedir}/${header}
done done
ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc
for soname in libv8 libv8_libbase libv8_libplatform; do for soname in libv8 libv8_libbase libv8_libplatform; do

View File

@ -592,7 +592,7 @@ ln -srf %{buildroot}%{_libdir}/libnode.so.%{nodejs_soversion} \
# Install v8 compatibility symlinks # Install v8 compatibility symlinks
for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do for header in %{buildroot}%{_includedir}/node/libplatform %{buildroot}%{_includedir}/node/v8*.h; do
header=$(basename ${header}) header=$(basename ${header})
ln -srf ./node/${header} %{buildroot}%{_includedir}/${header} ln -sf ./node/${header} %{buildroot}%{_includedir}/${header}
done done
ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc ln -s ./node/cppgc %{buildroot}%{_includedir}/cppgc
for soname in libv8 libv8_libbase libv8_libplatform; do for soname in libv8 libv8_libbase libv8_libplatform; do