freetds を構築しようとしていますが、静的ライブラリを freetds-devel に含めたいと考えています。オプション_with_static
が必要なようですが、指定するのは不明です。RPM ファイルのセクションは次のとおりです。
%build
%configure \
--disable-dependency-tracking \
--disable-rpath \
%{!?_with_static: --disable-static} \
--with-tdsver="4.2" \
--with-unixodbc="%{_prefix}" \
--enable-msdblib \
--enable-sybase-compat \
--with-gnutls
スペックファイルを変更して、必要なオプションだけを含めるには、_with_static
実行時にどのように指定すればよいrpmbuild
ですか?