我正在尝试构建 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
?