Accepting request 991315 from home:firstyear:branches:network

- Resolve issue with linking python3 with rlm-python

OBS-URL: https://build.opensuse.org/request/show/991315
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=153
This commit is contained in:
Adam Majer 2022-07-27 08:52:31 +00:00 committed by Git OBS Bridge
parent 6007a24a14
commit d517bc32d2
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 21 00:49:49 UTC 2022 - William Brown <william.brown@suse.com>
- Resolve issue with linking python3 with rlm-python
-------------------------------------------------------------------
Wed Feb 2 11:59:44 UTC 2022 - Samuel Cabrero <scabrero@suse.de>

View File

@ -215,7 +215,12 @@ FreeRADIUS plugin providing SQLite support.
%build
autoreconf -fi
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector -fPIC -DPIC"
%if 0%{?suse_version} > 1550
export LDFLAGS="-pie $(python3-config --embed --libs)"
%else
export LDFLAGS="-pie"
%endif
%configure \
--disable-static \
--libdir=%{_libdir}/freeradius \