Description: This is v8 library
Version: 4.7.83
-Libs: -L${libdir} ${libdir}/libv8_base.a ${libdir}/libv8_external_snapshot.a ${libdir}/libv8_libbase.a ${libdir}/libv8_libplatform.a ${libdir}/libv8_nosnapshot.a
+Libs: -L${libdir} -lv8
Cflags: -I${includedir}/v8/include
# directly include it themselves.
'includes': ['toolchain.gypi'],
'variables': {
- 'component%': 'static_library',
+ 'component%': 'shared_library',
'clang_xcode%': 0,
# Track where uninitialized memory originates from. From fastest to
# slowest: 0 - no tracking, 1 - track only the initial allocation site, 2
install -d %{buildroot}%{_libdir}/v8
install -d %{buildroot}%{_includedir}/v8/include
install -d %{buildroot}%{_includedir}/v8/include/libplatform
-install -m 0755 %{OUTPUT_FOLDER}/*.a %{buildroot}%{_libdir}/v8
+install -m 0755 %{OUTPUT_FOLDER}/lib/libv8.so %{buildroot}%{_libdir}
install -m 0755 %{OUTPUT_FOLDER}/natives_blob.bin %{buildroot}%{_libdir}/v8
install -m 0755 %{OUTPUT_FOLDER}/snapshot_blob.bin %{buildroot}%{_libdir}/v8
#make and install the pkgconfig file
-sed -e "s#?LIBDIR?#%{_libdir}/v8#" ./build/pkgconfig/v8.pc.in > ./build/pkgconfig/v8.pc
+sed -e "s#?LIBDIR?#%{_libdir}#" ./build/pkgconfig/v8.pc.in > ./build/pkgconfig/v8.pc
install -m 0644 ./build/pkgconfig/v8.pc %{buildroot}%{_libdir}/pkgconfig
install -m 0644 ./include/*.h %{buildroot}%{_includedir}/v8/include
%files
%manifest ./build/manifest/v8.manifest
-%{_libdir}/v8/libv8*.a
+%{_libdir}/libv8.so
%{_libdir}/v8/natives_blob.bin
%{_libdir}/v8/snapshot_blob.bin
%files devel
%manifest ./build/manifest/v8.manifest
-%{_libdir}/v8/libv8*.a
+%{_libdir}/libv8.so
%{_libdir}/v8/natives_blob.bin
%{_libdir}/v8/snapshot_blob.bin
%{_libdir}/pkgconfig/v8.pc
{
'target_name': 'v8_snapshot',
'type': 'static_library',
- 'standalone_static_library': 1,
'conditions': [
['want_separate_host_toolset==1', {
'toolsets': ['host', 'target'],
{
'target_name': 'v8_nosnapshot',
'type': 'static_library',
- 'standalone_static_library': 1,
'dependencies': [
'v8_base',
],
{
'target_name': 'v8_external_snapshot',
'type': 'static_library',
- 'standalone_static_library': 1,
'conditions': [
[ 'v8_use_external_startup_data==1', {
'conditions': [
{
'target_name': 'v8_base',
'type': 'static_library',
- 'standalone_static_library': 1,
'dependencies': [
'v8_libbase',
],
{
'target_name': 'v8_libbase',
'type': 'static_library',
- 'standalone_static_library': 1,
'variables': {
'optimize': 'max',
},
{
'target_name': 'v8_libplatform',
'type': 'static_library',
- 'standalone_static_library': 1,
'variables': {
'optimize': 'max',
},