libevhtp: move to OpenSSL 1.1
This commit is contained in:
parent
287a8fc983
commit
c2a1a2de46
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ class Libevhtp < Formula
|
||||||
homepage "https://criticalstack.com/"
|
homepage "https://criticalstack.com/"
|
||||||
url "https://github.com/criticalstack/libevhtp/archive/1.2.18.tar.gz"
|
url "https://github.com/criticalstack/libevhtp/archive/1.2.18.tar.gz"
|
||||||
sha256 "316ede0d672be3ae6fe489d4ac1c8c53a1db7d4fe05edaff3c7c853933e02795"
|
sha256 "316ede0d672be3ae6fe489d4ac1c8c53a1db7d4fe05edaff3c7c853933e02795"
|
||||||
revision 1
|
revision 2
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
|
@ -15,7 +15,7 @@ class Libevhtp < Formula
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
depends_on "doxygen" => :build
|
depends_on "doxygen" => :build
|
||||||
depends_on "libevent"
|
depends_on "libevent"
|
||||||
depends_on "openssl"
|
depends_on "openssl@1.1"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "cmake", "-DEVHTP_BUILD_SHARED=ON",
|
system "cmake", "-DEVHTP_BUILD_SHARED=ON",
|
||||||
|
@ -45,9 +45,9 @@ class Libevhtp < Formula
|
||||||
|
|
||||||
system ENV.cc, "test.c",
|
system ENV.cc, "test.c",
|
||||||
"-I#{include}",
|
"-I#{include}",
|
||||||
"-I#{Formula["openssl"].opt_include}",
|
"-I#{Formula["openssl@1.1"].opt_include}",
|
||||||
"-I#{Formula["libevent"].opt_include}",
|
"-I#{Formula["libevent"].opt_include}",
|
||||||
"-L#{Formula["openssl"].opt_lib}",
|
"-L#{Formula["openssl@1.1"].opt_lib}",
|
||||||
"-L#{Formula["libevent"].opt_lib}",
|
"-L#{Formula["libevent"].opt_lib}",
|
||||||
"-L#{lib}",
|
"-L#{lib}",
|
||||||
"-levhtp",
|
"-levhtp",
|
||||||
|
|
Loading…
Reference in a new issue