mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 08:14:32 +04:00
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>
12 lines
310 B
Diff
12 lines
310 B
Diff
--- 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()
|