Commit 89e1b378 authored by Łukasz Nowak's avatar Łukasz Nowak

component/h2o: Fix compilation

The development of this component happened in environment which had a lot
of libraries available.
parent b3e3a3f0
Pipeline #11013 failed with stage
in 0 seconds
...@@ -18,8 +18,14 @@ configure-command = ${cmake:location}/bin/cmake . ...@@ -18,8 +18,14 @@ configure-command = ${cmake:location}/bin/cmake .
configure-options = configure-options =
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@ -DCMAKE_INSTALL_PREFIX=@@LOCATION@@
-DWITH_MRUBY=on -DWITH_MRUBY=on
-DCMAKE_C_FLAGS="${:CMAKE_CFLAGS}"
-DCMAKE_CXX_FLAGS="${:CMAKE_CFLAGS}"
-DCMAKE_INSTALL_RPATH=${:CMAKE_LIBRARY_PATH}
CMAKE_CFLAGS=-I${openssl:location}/include -I${zlib:location}/include
CMAKE_LIBRARY_PATH=${openssl:location}/lib:${zlib:location}/lib
environment = environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig ${zlib:location}/lib/pkgconfig ${ruby:location}/lib/pkgconfig ${bison:location}/lib/pkgconfig PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig ${zlib:location}/lib/pkgconfig ${ruby:location}/lib/pkgconfig ${bison:location}/lib/pkgconfig
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${ruby:location}/lib -Wl,-rpath -Wl,${ruby:location}/lib -L${bison:location}/lib -Wl,-rpath -Wl,${bison:location}/lib CMAKE_INCLUDE_PATH=${openssl:location}/include:${zlib:location}/include
CXXFLAGS=-I${openssl:location}/include -I${zlib:location}/include -I${ruby:location}/include -I${bison:location}/include CMAKE_LIBRARY_PATH=${:CMAKE_LIBRARY_PATH}
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib
PATH=${ruby:location}/bin:${bison:location}/bin:%(PATH)s PATH=${ruby:location}/bin:${bison:location}/bin:%(PATH)s
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment