Browse Source

add thread support and allow it to be disabled

master
parent
commit
f0a8c3bcd2
  1. 13
      glib/glib.spec

13
glib/glib.spec

@ -33,7 +33,10 @@ Distribution: OpenPKG [BASE]
Group: Algorithm Group: Algorithm
License: GPL License: GPL
Version: 1.2.10 Version: 1.2.10
Release: 20020829 Release: 20030131
# package options
%option with_threads yes
# list of sources # list of sources
Source0: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{version}.tar.gz Source0: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{version}.tar.gz
@ -61,8 +64,12 @@ AutoReqProv: no
./configure \ ./configure \
--prefix=%{l_prefix} \ --prefix=%{l_prefix} \
--disable-debug \ --disable-debug \
--disable-threads \ --disable-shared \
--disable-shared %if "%{with_threads}" == "yes"
--enable-threads
%else
--disable-threads
%endif
%{l_make} %{l_mflags -O} %{l_make} %{l_mflags -O}
%install %install

Loading…
Cancel
Save