Skip to content

Commit e0efd87

Browse files
fix: run ngx-build with OPENSSL_PATH to use specific openssl (#209)
1 parent 1b32e24 commit e0efd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ script:
7171
- cd ..
7272
- export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
7373
- export NGX_BUILD_CC=$CC
74-
- ngx-build $NGINX_VERSION --with-ipv6 --with-http_realip_module --with-http_ssl_module --add-module=../echo-nginx-module --add-module=../lua-nginx-module --add-module=../stream-lua-nginx-module --with-stream --with-stream_ssl_module --with-debug
74+
- ngx-build $NGINX_VERSION --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-cc-opt="-I$OPENSSL_INC" --with-ld-opt="-L$OPENSSL_LIB -Wl,-rpath,$OPENSSL_LIB" --add-module=../echo-nginx-module --add-module=../lua-nginx-module --add-module=../stream-lua-nginx-module --with-stream --with-stream_ssl_module --with-debug > build.log 2>&1 || (cat build.log && exit 1)
7575
- nginx -V
7676
- ldd `which nginx`|grep -E 'luajit|ssl|pcre'
7777
- TEST_SUBSYSTEM=http prove -r t

0 commit comments

Comments
 (0)