[Lunar-commits] <moonbase> traverso: properly fix the library error
Michael 'v4hn' Goerner
v4hn at lunar-linux.org
Fri Jun 1 11:12:17 CEST 2012
commit 118b5b24f1a15cefcc84a8c4ddfc31017c2c6106
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date: Fri Jun 1 00:01:08 2012 +0200
traverso: properly fix the library error
Using the LDFLAGS+=" -ldl" trick also tricks gnu ld
when using --as-needed, so we need to add libdl as
a proper library.
---
audio/traverso/BUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/traverso/BUILD b/audio/traverso/BUILD
index b4ae6c4..e264e6c 100644
--- a/audio/traverso/BUILD
+++ b/audio/traverso/BUILD
@@ -1,6 +1,6 @@
(
- export LDFLAGS="$LDFLAGS -ldl" &&
+ sedit "s:\${QT_QT_LIBRARY}:\${QT_QT_LIBRARY} dl:" CMakeLists.txt &&
sedit "s:PKG_CHECK_MODULES(SLV2 libslv2:PKG_CHECK_MODULES(SLV2 slv2:" CMakeLists.txt &&
sedit "s:IF (SLV2_FOUND):IF (SLV2_FOUND)\nINCLUDE_DIRECTORIES(/usr/include/rasqal /usr/include/raptor2/):" CMakeLists.txt &&
More information about the Lunar-commits
mailing list