mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 06:18:21 +04:00
lua-openssl: update to 0.7.8-0
Swith to building with CMake to avoid huge patching of the stock Makefile. Reorganize Makefile for consistency between packages. Add patch to fix deprecated OpenSSL functions. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
11
lang/lua-openssl/patches/010-cmake.patch
Normal file
11
lang/lua-openssl/patches/010-cmake.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -21,8 +21,6 @@ add_definitions(-DPTHREADS)
|
||||
|
||||
if(BUILD_SHARED_LUA_OPENSSL)
|
||||
set(LUA_OPENSSL_LIBTYPE SHARED)
|
||||
- add_definitions(-DLUA_BUILD_AS_DLL -DLUA_LIB)
|
||||
- set(EXTRA_LIBS "ws2_32.lib" "crypt32.lib")
|
||||
else()
|
||||
set(LUA_OPENSSL_LIBTYPE STATIC)
|
||||
endif()
|
||||
Reference in New Issue
Block a user