summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-04-15 19:44:38 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-04-15 19:44:38 +0300
commit7f79f2f10505403750739691346de1626a330f60 (patch)
tree9a6ac888b3df0c65b72c4a97c6d29093b35779e9
parent555141f7989ede1bd3fc491daf2c9de3e946a189 (diff)
downloadunit-7f79f2f10505403750739691346de1626a330f60.tar.gz
unit-7f79f2f10505403750739691346de1626a330f60.tar.bz2
Enabled exporting symbols for OpenBSD.
Diffstat (limited to '')
-rw-r--r--auto/os/conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 6811a453..932b8aba 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -156,7 +156,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"