Fix libelf linking (BZ#1755317)
This commit is contained in:
parent
6f5fc18168
commit
583c2aaab9
@ -4,7 +4,7 @@
|
||||
|
||||
Name: %{githubname}
|
||||
Version: %{githubver}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Libbpf library
|
||||
|
||||
License: LGPLv2 or BSD
|
||||
@ -38,7 +38,7 @@ Requires: %{name}-devel = 1:%{version}-%{release}
|
||||
The %{name}-static package contains static library for
|
||||
developing applications that use %{name}
|
||||
|
||||
%global make_flags DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" LIBDIR=/%{_libdir}
|
||||
%global make_flags DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags} -Wl,--no-as-needed" LIBDIR=/%{_libdir} NO_PKG_CONFIG=1
|
||||
|
||||
%prep
|
||||
%autosetup -n %{githubfull}
|
||||
@ -62,5 +62,8 @@ developing applications that use %{name}
|
||||
%{_libdir}/libbpf.a
|
||||
|
||||
%changelog
|
||||
* Wed Sep 25 2019 Jiri Olsa <jolsa@redhat.com> - 0.0.3-2
|
||||
- Fix libelf linking (BZ#1755317)
|
||||
|
||||
* Fri Sep 13 2019 Jiri Olsa <jolsa@redhat.com> - 0.0.3-1
|
||||
- Initial release
|
||||
|
||||
Loading…
Reference in New Issue
Block a user