Richard Brown 2022-07-28 18:58:21 +00:00 committed by Git OBS Bridge
commit dc7cbb732b
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 \