开发者

How do you specify $? options in an rpm file

开发者 https://www.devze.com 2022-12-19 20:44 出处:网络
I\'m trying to build freetds but want it to include the static libraries in freetds-devel.It looks like it takes an option _with_static but it\'s unclear to specify it.Here\'s a section of the RPM fil

I'm trying to build freetds but want it to include the static libraries in freetds-devel. It looks like it takes an option _with_static but it's unclear to specify it. Here's a section of the RPM file:

%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

So short of altering the spec开发者_如何学编程 file to have just the options I want how do I specify _with_static when I run rpmbuild?


Pass --with static to rpmbuild.

0

精彩评论

暂无评论...
验证码 换一张
取 消