题
我试图建立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
的选项?
解决方案
通行证--with static
到rpmbuild
。
不隶属于 StackOverflow