summaryrefslogtreecommitdiffhomepage
path: root/auto/os
diff options
context:
space:
mode:
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"