【发布时间】:2010-02-12 19:39:14
【问题描述】:
我正在尝试构建 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
没有将规范文件更改为只有我想要的选项,当我运行rpmbuild 时如何指定_with_static?
【问题讨论】: