Welcome! Log In Create A New Profile

Advanced

[njs] Fixed building unit tests binaries on MacOS with custom LDFLAGS.

Dmitry Volyntsev
November 29, 2021 09:28AM
details: https://hg.nginx.org/njs/rev/94e5a03702f9
branches:
changeset: 1751:94e5a03702f9
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Mon Nov 29 14:05:33 2021 +0000
description:
Fixed building unit tests binaries on MacOS with custom LDFLAGS.

diffstat:

auto/make | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7f72930cf1ac -r 94e5a03702f9 auto/make
--- a/auto/make Mon Nov 22 13:37:11 2021 +0000
+++ b/auto/make Mon Nov 29 14:05:33 2021 +0000
@@ -136,7 +136,7 @@ do

$NJS_BUILD_DIR/$njs_bin: $njs_src \\
$NJS_BUILD_DIR/libnjs.a
- \$(NJS_CC) -o $NJS_BUILD_DIR/$njs_bin \$(NJS_CFLAGS) \\
+ \$(NJS_LINK) -o $NJS_BUILD_DIR/$njs_bin \$(NJS_CFLAGS) \\
\$(NJS_LIB_INCS) $njs_dep_flags \\
$njs_src $NJS_BUILD_DIR/libnjs.a \\
$njs_dep_post -lm
@@ -184,7 +184,7 @@ do
$NJS_BUILD_DIR/$njs_bin: $njs_src \\
$NJS_BUILD_DIR/libnjs.a \\
$NJS_BUILD_DIR/$njs_externals_obj
- \$(NJS_CC) -o $NJS_BUILD_DIR/$njs_bin \$(NJS_CFLAGS) \\
+ \$(NJS_LINK) -o $NJS_BUILD_DIR/$njs_bin \$(NJS_CFLAGS) \\
$NJS_LIB_AUX_CFLAGS \$(NJS_LIB_INCS) \\
$njs_dep_flags \\
$NJS_BUILD_DIR/$njs_externals_obj \\
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed building unit tests binaries on MacOS with custom LDFLAGS.

Dmitry Volyntsev 314 November 29, 2021 09:28AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 305
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready