forked from pool/nodejs-electron
- Fix build on Fedora * Added electron-16-node-fix-python3.10-import.patch - Add devel package with node headers (e.g. for node-gyp) * Added electron-16-system-node-headers.patch - Fix building on Fedora and openSUSE Leap OBS-URL: https://build.opensuse.org/request/show/949719 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-electron?expand=0&rev=16
15 lines
616 B
Diff
15 lines
616 B
Diff
Index: electron-16.0.7/third_party/electron_node/common.gypi
|
|
===================================================================
|
|
--- electron-16.0.7.orig/third_party/electron_node/common.gypi 2022-01-19 10:13:06.686093505 +0100
|
|
+++ electron-16.0.7/third_party/electron_node/common.gypi 2022-01-27 09:34:39.846154230 +0100
|
|
@@ -404,6 +404,9 @@
|
|
'BUILDING_UV_SHARED=1',
|
|
],
|
|
}],
|
|
+ [ 'OS in "linux"', {
|
|
+ 'cflags': [ '-I/usr/include/electron' ],
|
|
+ }],
|
|
[ 'OS in "linux freebsd openbsd solaris aix"', {
|
|
'cflags': [ '-pthread' ],
|
|
'ldflags': [ '-pthread' ],
|