From 0f0f543d79966fc938b3205e5273820e4c2edc56 Mon Sep 17 00:00:00 2001 From: yuuko Date: Tue, 27 Aug 2024 13:36:53 -0700 Subject: but as if to knock me down, reality came around --- AMBuilder | 4 ++-- README.md | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/AMBuilder b/AMBuilder index 4896901..e5eb5f2 100644 --- a/AMBuilder +++ b/AMBuilder @@ -29,7 +29,7 @@ ext.compiler.cxxincludes += [ os.path.join(Extension.mms_root, 'core', 'sourcehook') ] ext.compiler.cxxflags += ['-Wno-error=deprecated-declarations'] -ext.compiler.pkg_config('libcurl', link='static') -ext.compiler.pkg_config('openssl', link='static') +ext.compiler.pkg_config('libcurl') +ext.compiler.pkg_config('openssl') Extension.extensions += [builder.Add(ext)] diff --git a/README.md b/README.md index dfacd1d..de4e49f 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,11 @@ Building ambuild Requirements: + * AMBuild * SourceMod * MetaMod: Source -* pkg-config, which should be able to find static 32-bit: +* pkg-config, which should be able to find 32-bit: * openssl * libcurl, which for parity with neocurl, should apparently be built with at least: @@ -39,9 +40,10 @@ server directory. Releases -------- -Given the rate at which CVEs appear in OpenSSL, prepackaged static builds would -be irresponsible. You are encouraged to find a way to maintain builds against -up-to-date system libraries. +* statically linked releases would be [irresponsible] +* dynamically linked releases would be [pointless] + +sorry mate just build it yourself Licensing --------- @@ -51,4 +53,6 @@ best of my knowledge, OpenSSL and cURL present no licensing incompatibilities via linkage. [neocurl]: https://github.com/sapphonie/SM-neocurl-ext -[SourceMod cURL]: https://code.google.com/archive/p/sourcemod-curl-extension \ No newline at end of file +[SourceMod cURL]: https://code.google.com/archive/p/sourcemod-curl-extension +[irresponsible]: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=openssl +[pointless]: https://blog.hiler.eu/win32-the-only-stable-abi/ -- cgit v1.2.3