Merge lp:~dobey/unity-scope-click/merge-trunk into lp:unity-scope-click/devel

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: no longer in the source branch.
Merged at revision: 404
Proposed branch: lp:~dobey/unity-scope-click/merge-trunk
Merge into: lp:unity-scope-click/devel
Diff against target: 37 lines (+11/-2)
2 files modified
debian/changelog (+7/-0)
tools/init-departments/CMakeLists.txt (+4/-2)
To merge this branch: bzr merge lp:~dobey/unity-scope-click/merge-trunk
Reviewer Review Type Date Requested Status
dobey (community) Abstain
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+231245@code.launchpad.net

Commit message

New libstdc++ requires explicit -lpthread when using std::thread.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
dobey (dobey) wrote :

This is already in trunk, and necessary to build the scope now, so forcing this through.

review: Abstain
404. By dobey

New libstdc++ requires explicit -lpthread when using std::thread.

Approved by PS Jenkins bot.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-08-11 19:08:26 +0000
3+++ debian/changelog 2014-08-18 18:53:16 +0000
4@@ -1,3 +1,10 @@
5+unity-scope-click (0.1.1+14.10.20140815-0ubuntu1) utopic; urgency=low
6+
7+ [ Rodney Dawes ]
8+ * New libstdc++ requires explicit -lpthread when using std::thread.
9+
10+ -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Fri, 15 Aug 2014 14:24:40 +0000
11+
12 unity-scope-click (0.1.1+14.10.20140811-0ubuntu1) utopic; urgency=medium
13
14 [ Michal Hruby ]
15
16=== modified file 'tools/init-departments/CMakeLists.txt'
17--- tools/init-departments/CMakeLists.txt 2014-07-14 09:43:27 +0000
18+++ tools/init-departments/CMakeLists.txt 2014-08-18 18:53:16 +0000
19@@ -2,6 +2,7 @@
20 set (INITDEPTS init-departments)
21
22 find_package (Qt5Core REQUIRED)
23+find_package (Threads)
24
25 include_directories (
26 ${CMAKE_SOURCE_DIR}/libclickscope
27@@ -15,7 +16,8 @@
28 qt5_use_modules (${INITDEPTS} Network Sql)
29
30 target_link_libraries(${INITDEPTS}
31- ${SCOPE_LIB_NAME}
32- )
33+ ${SCOPE_LIB_NAME}
34+ ${CMAKE_THREAD_LIBS_INIT}
35+)
36
37 install(TARGETS ${INITDEPTS} DESTINATION sbin)

Subscribers

People subscribed via source and target branches

to all changes: