1

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ですか?

4

1 に答える 1

2

に渡し--with staticますrpmbuild

于 2010-02-12T19:44:21.740 に答える