Commit Graph

3 Commits

Author SHA1 Message Date
Yaksh Bariya b7fc720801 nodejs: update to v17.7.1 2022-03-12 07:59:50 +00:00
Yaksh Bariya dddd5b0a9b
nodejs: Hardcode linker flags for shared libraries
We are passing flags to `configure.py` in order to tell the nodejs build
toolchain to use shared libraries. The toolchain seems to mistakenly
also try use shared libraries for host build, but it does not add
respective linker flags (For example `-lz` for zlib). This commit
hardcodes these flags to be always passed to linker by setting linker to
linker + LDFLAGS of shared libraries
2021-09-14 06:58:41 +05:30
Leonid Pliushch c8883ac789 nodejs: avoid FICLONE ioctl
Issue https://github.com/termux/termux-packages/issues/4664.

19824 ioctl(29, BTRFS_IOC_CLONE or FICLONE, 34 <unfinished ...>
19823 fstat64(30,  <unfinished ...>
19822 write(16, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
19821 close(31 <unfinished ...>
19804 <... epoll_pwait resumed>[{EPOLLIN, {u32=16, u64=16}}], 1024, 867, NULL, 8) = 1
19824 <... ioctl resumed>)              = -1 EACCES (Permission denied)
2020-01-16 02:58:30 +02:00