diff options
Diffstat (limited to 'redhat/applications/knemo/knemo.spec')
-rw-r--r-- | redhat/applications/knemo/knemo.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/applications/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec index 630273418..29ef60d10 100644 --- a/redhat/applications/knemo/knemo.spec +++ b/redhat/applications/knemo/knemo.spec @@ -98,6 +98,7 @@ BuildRequires: libidn-devel BuildRequires: openssl-devel # Wireless support +%define with_wifi 1 %if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 BuildRequires: wireless-tools-devel %endif @@ -159,6 +160,7 @@ fi -DLIB_INSTALL_DIR="%{tde_libdir}" \ \ -DWITH_ALL_OPTIONS=ON \ + %{!?with_wifi:-DWITH_LIBIW=OFF} \ -DWITH_GCC_VISIBILITY=ON \ \ -DBUILD_ALL=ON \ |