summaryrefslogtreecommitdiffhomepage
path: root/auto/os
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-12-26 17:55:48 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-12-26 17:55:48 +0300
commitcdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869 (patch)
tree70b6a5bd959dba91747508f09b978b202546c094 /auto/os
parent2ab29f6cc305a12d80e4a6f5f525cdef7b5eb47e (diff)
downloadunit-cdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869.tar.gz
unit-cdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869.tar.bz2
Enabled exporting symbols for NetBSD.
Diffstat (limited to 'auto/os')
-rw-r--r--auto/os/conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/os/conf b/auto/os/conf
index bab5b6ea..71c15b77 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -136,7 +136,8 @@ case "$NXT_SYSTEM" in
NXT_SHARED_LOCAL_LINK="\$(CC) -shared"
NXT_MODULE_LINK="\$(CC) -shared"
- NXT_EXEC_LINK="\$(CC)"
+ # "-Wl,-E" exports symbols of executable file.
+ NXT_EXEC_LINK="\$(CC) -Wl,-E"
NXT_SHARED_LOCAL_EXEC_LINK=
NXT_LIB_STATIC="libnxt.a"