* [gentoo-commits] gentoo-x86 commit in dev-cpp/sptk/files: sptk-3.5.8.14-as-needed.patch
@ 2009-12-13 12:09 Ilya Volynets (iluxa)
0 siblings, 0 replies; only message in thread
From: Ilya Volynets (iluxa) @ 2009-12-13 12:09 UTC (permalink / raw
To: gentoo-commits
iluxa 09/12/13 12:09:40
Added: sptk-3.5.8.14-as-needed.patch
Log:
Fix --as-needed compilation
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-cpp/sptk/files/sptk-3.5.8.14-as-needed.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/files/sptk-3.5.8.14-as-needed.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/files/sptk-3.5.8.14-as-needed.patch?rev=1.1&content-type=text/plain
Index: sptk-3.5.8.14-as-needed.patch
===================================================================
This causes -lpthread to be added to the end of link list, after
objects, as opposed to the middle. This way --as-needed linking
is fixed.
Thanks Kacper Kowalik <xarthisius.kk@gmail.com>
--- sptk-3.5.8.14.orig/src/CMakeLists.txt 2009-12-13 12:39:36.408351609 +0100
+++ sptk-3.5.8.14/src/CMakeLists.txt 2009-12-13 12:54:14.591539074 +0100
@@ -23,7 +23,7 @@
)
IF (NOT WIN32)
- SET_TARGET_PROPERTIES (sputil3 PROPERTIES LINK_FLAGS "-lpthread")
+ TARGET_LINK_LIBRARIES (sputil3 pthread)
ENDIF (NOT WIN32)
IF (NOT NO_EXCEL)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-13 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13 12:09 [gentoo-commits] gentoo-x86 commit in dev-cpp/sptk/files: sptk-3.5.8.14-as-needed.patch Ilya Volynets (iluxa)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox