Accepting request 212099 from openSUSE:Factory:Staging:Gcc48

- pthread is needed for the test app - not just on i586

OBS-URL: https://build.opensuse.org/request/show/212099
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdbus-c++?expand=0&rev=9
This commit is contained in:
Factory Maintainer 2013-12-31 05:06:50 +00:00 committed by Git OBS Bridge
parent e3aaf4be8d
commit ac83fc858a
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 23 14:03:27 UTC 2013 - coolo@suse.com
- pthread is needed for the test app - not just on i586
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 20 07:33:35 UTC 2012 - davejplater@gmail.com Tue Mar 20 07:33:35 UTC 2012 - davejplater@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libdbus-c++ # spec file for package libdbus-c++
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -98,13 +98,7 @@ optional own main loop. Files for building against libdbus-c++
%build %build
#./autogen.sh #./autogen.sh
# FIXME: for some strange reason the 32 bit build needs -lpthread.
%ifarch x86_64
export LDFLAGS="$LDFLAGS -lexpat"
%else
export LDFLAGS="$LDFLAGS -lexpat -lpthread" export LDFLAGS="$LDFLAGS -lexpat -lpthread"
%endif
%configure --disable-ecore --enable-doxygen-docs --enable-static=no %configure --disable-ecore --enable-doxygen-docs --enable-static=no
make %{?_smp_flags} make %{?_smp_flags}