]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ensure correct python-config is used on RHEL 8
authorNick Porter <nick@portercomputing.co.uk>
Thu, 23 Nov 2023 12:54:19 +0000 (12:54 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 23 Nov 2023 12:56:27 +0000 (12:56 +0000)
redhat/freeradius.spec

index a783fe7717f6dfff2397f6c626a18621a2a98815..baca66b52044cfd25d380f460581c7b7841ba9e1 100644 (file)
@@ -629,6 +629,9 @@ export RADIUSD_VERSION_RELEASE="%{release}"
         %{autoconf_mod_with rlm_mruby} \
         %{autoconf_mod_with rlm_opendirectory} \
         %{autoconf_mod_with rlm_python} \
+%if 0%{?rhel} < 9
+        --with-rlm-python-config-bin=/usr/bin/python3.8-config \
+%endif
         %{autoconf_mod_with rlm_securid} \
         %{autoconf_mod_with rlm_sigtran} \
         %{autoconf_mod_with rlm_sql_oracle} \