Commit graph

2 commits

Author SHA1 Message Date
Konstantin Pavlov
869e1240ea Build system: provide a way to pass additional options to cmake invocation.
When building otel module as a part of nginx build system process (via
./configure --add-dynamic-module=nginx-otel/), there is no way to pass
additional options to the cmake invocation, making it impossible link
the module with desired ssl library variant.

With the patch, it's not possible to pass the additional options, e.g.
NGINX_OTEL_ADDITIONAL_OPTS="-DOPENSSL_ROOT_DIR=/usr/lib64/openssl11;/usr/include/openssl11"
./configure --add-dynamic-module=nginx-otel/, and cmake will pick up the
correct ssl variant to link the module with.
2023-12-19 16:37:53 -08:00
Pavel Pautov
38e48ff778 Add interface for Nginx build system. 2023-06-13 16:59:02 -07:00