diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-01-11 17:13:58 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-01-11 17:13:58 +0300 |
commit | c105988e5102eefd91fa8336848e926ebbb42a5b (patch) | |
tree | d18b439278ed314ed37cb41f04cdef6d4062d7d2 /auto/os/conf | |
parent | f7bc2e1560c2bbbd899b22a54837f09ccb582609 (diff) | |
download | unit-c105988e5102eefd91fa8336848e926ebbb42a5b.tar.gz unit-c105988e5102eefd91fa8336848e926ebbb42a5b.tar.bz2 |
Fixed DragonFly BSD shared memory implementation.
Diffstat (limited to 'auto/os/conf')
-rw-r--r-- | auto/os/conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf index 71c15b77..67db5df1 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -167,6 +167,26 @@ case "$NXT_SYSTEM" in NXT_LIBS="$NXT_PTHREAD" ;; + DragonFly) + nxt_have=NXT_DRAGONFLY . auto/have + + NXT_STATIC_LINK="ar -r -c" + NXT_SHARED_LINK="\$(CC) -shared" + NXT_SHARED_LOCAL_LINK="\$(CC) -shared" + NXT_MODULE_LINK="\$(CC) -shared" + + # "-Wl,-E" exports symbols of executable file. + NXT_EXEC_LINK="\$(CC) -Wl,-E" + NXT_SHARED_LOCAL_EXEC_LINK= + + NXT_LIB_STATIC="libnxt.a" + NXT_LIB_SHARED="libnxt.so" + NXT_LIB_SHARED_LOCAL="$NXT_BUILD_DIR/libnxt.so" + + NXT_LIBM="-lm" + NXT_LIBS="$NXT_LIBRT $NXT_PTHREAD" + ;; + AIX) nxt_have=NXT_AIX . auto/have |