summaryrefslogtreecommitdiffstats
path: root/package/checksec/0001-checksec-Fixed-issue-with-relative-path.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-08-19 18:51:58 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-21 00:00:08 +0200
commitcbb7b49f4c790a26cddca4d826095b86af70446f (patch)
treea15e450270b29fd52ed4cab563a36dc097f937b8 /package/checksec/0001-checksec-Fixed-issue-with-relative-path.patch
parent23430a63a789dccd635d58d699bfa6416340da8a (diff)
downloadbuildroot-cbb7b49f4c790a26cddca4d826095b86af70446f.tar.gz
buildroot-cbb7b49f4c790a26cddca4d826095b86af70446f.zip
package/nodejs: use host-libopenssl
host-nodejs is configured to build openssl by using its included openssl source code which is based on openssl 1.0.2. If host-libopenssl was already built its header files are being picked up during host-nodejs build, this was verified by adding debug code to $(HOST_DIR)/include/openssl/opensslv.h. This situation was not a problem as long as host-libopenssl was the same version than the openssl code included in nodejs. Some code in host-nodejs-8.11.4/src/node_crypto.cc is guarded by #if OPENSSL_VERSION_NUMBER < 0x10100000L to be used only with openssl 1.0.x. This leads to problems if host-libopenssl 1.1.x was built before. Due to the usage of its header files some code in node_crypto.cc is not built leading to many linking errors later on, for example: node_crypto.cc:(.text+0x1a1): undefined reference to `DH_get0_pqg' When the nodejs package originally was added to buildroot back in March 2013: https://git.buildroot.net/buildroot/commit/?id=b31bc7d4387095091a109eb879464d54d37a5eab We did not have a host-libopenssl package back then, it was added one month later: https://git.buildroot.net/buildroot/commit/?id=7842789cb539b6b64d61b03f5c8dbe6813f01da7 To fix the problem we use host-libopenssl for host-nodejs. By using host-libopenssl the build time of nodejs is reduced by ~15s. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/checksec/0001-checksec-Fixed-issue-with-relative-path.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud