diff options
author | Derek Straka <derek@asterius.io> | 2016-08-09 22:06:32 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-15 12:32:00 +0200 |
commit | ea75c656375424529cc08b7e0ee61793d830a012 (patch) | |
tree | 6071e7d27bdcdaefc080923bd639d81043330903 /meta-webserver/recipes-httpd/nginx/nginx.inc | |
parent | 2646e9799c3a1748570ace37289b840b3fe65182 (diff) | |
download | meta-openembedded-contrib-ea75c656375424529cc08b7e0ee61793d830a012.tar.gz |
nginx: add the LDFLAGS to the link arguments
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/nginx.inc')
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ebf926a201..167dc5a920 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)} \ |