conf (510:4979fe09d9cd) conf (644:44f8dcca7f58)
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6# To support dynamically loaded modules libnxt library must be a shared
7# object itself because an application linked with static libnxt library
8# may lack code required by the modules. Dynamic linkers allow to specify

--- 142 unchanged lines hidden (view full) ---

151 OpenBSD)
152 nxt_have=NXT_OPENBSD . auto/have
153
154 NXT_STATIC_LINK="ar -r -c"
155 NXT_SHARED_LINK="\$(CC) -shared"
156 NXT_SHARED_LOCAL_LINK="\$(CC) -shared"
157 NXT_MODULE_LINK="\$(CC) -shared"
158
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6# To support dynamically loaded modules libnxt library must be a shared
7# object itself because an application linked with static libnxt library
8# may lack code required by the modules. Dynamic linkers allow to specify

--- 142 unchanged lines hidden (view full) ---

151 OpenBSD)
152 nxt_have=NXT_OPENBSD . auto/have
153
154 NXT_STATIC_LINK="ar -r -c"
155 NXT_SHARED_LINK="\$(CC) -shared"
156 NXT_SHARED_LOCAL_LINK="\$(CC) -shared"
157 NXT_MODULE_LINK="\$(CC) -shared"
158
159 NXT_EXEC_LINK="\$(CC)"
159 # "-Wl,-E" exports symbols of executable file.
160 NXT_EXEC_LINK="\$(CC) -Wl,-E"
160 NXT_SHARED_LOCAL_EXEC_LINK=
161
162 NXT_LIB_STATIC="libnxt.a"
163 NXT_LIB_SHARED="libnxt.so"
164 NXT_LIB_SHARED_LOCAL="$NXT_BUILD_DIR/libnxt.so"
165
166 NXT_LIBM="-lm"
167 NXT_LIBS="$NXT_PTHREAD"

--- 97 unchanged lines hidden ---
161 NXT_SHARED_LOCAL_EXEC_LINK=
162
163 NXT_LIB_STATIC="libnxt.a"
164 NXT_LIB_SHARED="libnxt.so"
165 NXT_LIB_SHARED_LOCAL="$NXT_BUILD_DIR/libnxt.so"
166
167 NXT_LIBM="-lm"
168 NXT_LIBS="$NXT_PTHREAD"

--- 97 unchanged lines hidden ---