我试图建立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 staticrpmbuild

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top