diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2017-12-26 17:55:48 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2017-12-26 17:55:48 +0300 |
commit | cdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869 (patch) | |
tree | 70b6a5bd959dba91747508f09b978b202546c094 /auto | |
parent | 2ab29f6cc305a12d80e4a6f5f525cdef7b5eb47e (diff) | |
download | unit-cdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869.tar.gz unit-cdfdbc43eb2f6c59bf1b1cf6d71a6afec34d7869.tar.bz2 |
Enabled exporting symbols for NetBSD.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/os/conf | 3 |
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" |