mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
nginx: correct errors from previous merge
Signed-off-by: heil <heil@terminal-consulting.de>
This commit is contained in:
65
net/nginx/patches-lua-nginx/100-dont_export_symbols.patch
Normal file
65
net/nginx/patches-lua-nginx/100-dont_export_symbols.patch
Normal file
@@ -0,0 +1,65 @@
|
||||
--- a/lua-nginx/config
|
||||
+++ b/lua-nginx/config
|
||||
@@ -409,35 +409,35 @@ NGX_ADDON_DEPS="$NGX_ADDON_DEPS \
|
||||
|
||||
CFLAGS="$CFLAGS -DNDK_SET_VAR"
|
||||
|
||||
-ngx_feature="export symbols by default (-E)"
|
||||
-ngx_feature_libs="-Wl,-E"
|
||||
-ngx_feature_name=
|
||||
-ngx_feature_run=no
|
||||
-ngx_feature_incs="#include <stdio.h>"
|
||||
-ngx_feature_path=
|
||||
-ngx_feature_test='printf("hello");'
|
||||
-
|
||||
-. auto/feature
|
||||
-
|
||||
-if [ $ngx_found = yes ]; then
|
||||
- CORE_LIBS="-Wl,-E $CORE_LIBS"
|
||||
-fi
|
||||
+#ngx_feature="export symbols by default (-E)"
|
||||
+#ngx_feature_libs="-Wl,-E"
|
||||
+#ngx_feature_name=
|
||||
+#ngx_feature_run=no
|
||||
+#ngx_feature_incs="#include <stdio.h>"
|
||||
+#ngx_feature_path=
|
||||
+#ngx_feature_test='printf("hello");'
|
||||
+#
|
||||
+#. auto/feature
|
||||
+#
|
||||
+#if [ $ngx_found = yes ]; then
|
||||
+# CORE_LIBS="-Wl,-E $CORE_LIBS"
|
||||
+#fi
|
||||
|
||||
# for Cygwin
|
||||
-ngx_feature="export symbols by default (--export-all-symbols)"
|
||||
-ngx_feature_libs="-Wl,--export-all-symbols"
|
||||
-ngx_feature_name=
|
||||
-ngx_feature_run=no
|
||||
-ngx_feature_incs="#include <stdio.h>"
|
||||
-ngx_feature_path=
|
||||
-ngx_feature_test='printf("hello");'
|
||||
-
|
||||
-. auto/feature
|
||||
-
|
||||
-if [ $ngx_found = yes ]; then
|
||||
- CORE_LIBS="-Wl,--export-all-symbols $CORE_LIBS"
|
||||
-fi
|
||||
-
|
||||
+#ngx_feature="export symbols by default (--export-all-symbols)"
|
||||
+#ngx_feature_libs="-Wl,--export-all-symbols"
|
||||
+#ngx_feature_name=
|
||||
+#ngx_feature_run=no
|
||||
+#ngx_feature_incs="#include <stdio.h>"
|
||||
+#ngx_feature_path=
|
||||
+#ngx_feature_test='printf("hello");'
|
||||
+#
|
||||
+#. auto/feature
|
||||
+#
|
||||
+#if [ $ngx_found = yes ]; then
|
||||
+# CORE_LIBS="-Wl,--export-all-symbols $CORE_LIBS"
|
||||
+#fi
|
||||
+#
|
||||
NGX_DTRACE_PROVIDERS="$NGX_DTRACE_PROVIDERS $ngx_addon_dir/dtrace/ngx_lua_provider.d"
|
||||
NGX_TAPSET_SRCS="$NGX_TAPSET_SRCS $ngx_addon_dir/tapset/ngx_lua.stp"
|
||||
|
||||
Reference in New Issue
Block a user