Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
globulation2
glob2_SConstruct.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glob2_SConstruct.patch of Package globulation2
diff -Nur glob2-0.9.4.4-orig/SConstruct glob2-0.9.4.4/SConstruct --- glob2-0.9.4.4-orig/SConstruct 2009-08-30 21:23:30.000000000 +0200 +++ glob2-0.9.4.4/SConstruct 2023-02-04 07:44:57.267408070 +0100 @@ -120,11 +120,22 @@ missing.append("libboost_thread") env.Append(LIBS=[boost_thread]) + # Boost.Thread needs Boost.System DSO's. + boost_system = '' + if conf.CheckLib("boost_system"): + boost_system="boost_system" + elif conf.CheckLib("boost_system-mt"): + boost_system="boost_system-mt" + else: + print "Could not find libboost_system or libboost_system-mt" + missing.append("libboost_system") + env.Append(LIBS=[boost_system]) + boost_date_time = '' if conf.CheckLib("boost_date_time") and conf.CheckCXXHeader("boost/date_time/posix_time/posix_time.hpp"): - boost_thread="boost_thread" + boost_date_time="boost_date_time" elif conf.CheckLib("boost_date_time-mt") and conf.CheckCXXHeader("boost/date_time/posix_time/posix_time.hpp"): - boost_thread="boost_thread-mt" + boost_date_time="boost_date_time-mt" else: print "Could not find libboost_date_time or libboost_date_time-mt or boost/thread/thread.hpp" missing.append("libboost_date_time") @@ -263,7 +274,7 @@ else: env.ParseConfig("sdl-config --cflags") env.ParseConfig("sdl-config --libs") - env.Append(LIBS=['vorbisfile', 'SDL_ttf', 'SDL_image', 'SDL_net', 'speex']) + env.Append(LIBS=['vorbisfile', 'SDL_ttf', 'SDL_image', 'SDL_net', 'speex', 'pthread']) env["TARFILE"] = env.Dir("#").abspath + "/glob2-" + env["VERSION"] + ".tar.gz" env["TARFLAGS"] = "-c -z"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor