[oe-commits] [meta-openembedded] 31/36: nginx: add the LDFLAGS to the link arguments

git at git.openembedded.org git at git.openembedded.org
Wed Aug 10 11:49:26 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 2dac6567f9988c4f07d21d3c4a04f2a3b4791ee2
Author: Derek Straka <derek at asterius.io>
AuthorDate: Tue Aug 9 22:06:32 2016 -0400

    nginx: add the LDFLAGS to the link arguments
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-webserver/recipes-httpd/nginx/nginx.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index ebf926a..167dc5a 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -41,6 +41,9 @@ do_configure () {
 	echo $CFLAGS
 	echo $LDFLAGS
 
+	# Add the LDFLAGS to the main nginx link to avoid issues with missing GNU_HASH
+	echo "MAIN_LINK=\"\${MAIN_LINK} ${LDFLAGS}\"" >> auto/cc/conf
+
 	./configure \
 	--crossbuild=Linux:${TUNE_ARCH} \
 	--with-endian=${@base_conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list