Fix:WITH_LDS does not take effect during compilation, causing a function conflict with the same name as glibc.so

- 编译时WITH_LDS没生效,导致与glibc.so发生同名函数冲突

(cherry picked from commit 39d5297533ca15909ab23ebca5910649592ec96c)
This commit is contained in:
lishunlong 2024-03-20 17:03:12 +08:00 committed by openeuler-sync-bot
parent 72d7fe9ffc
commit d63f2d3145

View File

@ -1,12 +1,12 @@
Name: librdkafka
Version: 2.1.1
Release: 1
Release: 2
Summary: C library implementation of the Apache Kafka protocol
License: BSD-2-Clause and Zlib and MIT and BSD-3-Clause
URL: https://github.com/edenhill/librdkafka
Source0: https://github.com/edenhill/librdkafka/archive/refs/tags/v%{version}.tar.gz
BuildRequires: gcc-c++ python3 openssl-devel cyrus-sasl-devel lz4-devel
BuildRequires: gcc-c++ python3 openssl-devel cyrus-sasl-devel lz4-devel python3-unversioned-command
BuildRequires: make libzstd-devel zlib-devel rapidjson-devel
%description
@ -61,6 +61,9 @@ find %{buildroot} -name '*-static.pc' -delete -print
%changelog
* Wed Mar 20 2024 lishunlong <lishunlong@kylinsec.com.cn> - 2.1.1-2
- Fix recognition of WITH_LDS when compiling
* Tue Jun 20 2023 liyanan <thistleslyn@163.com> - 2.1.1-1
- Update to 2.1.1