[packages/SILK_SDK] - link library properly

qboosh qboosh at pld-linux.org
Thu Jul 11 17:32:54 CEST 2013


commit 35e0878c14fc6b841a32dd213440c723e97b98f7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 11 17:32:40 2013 +0200

    - link library properly

 SILK_SDK.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/SILK_SDK.spec b/SILK_SDK.spec
index 0cb36f2..a0a870c 100644
--- a/SILK_SDK.spec
+++ b/SILK_SDK.spec
@@ -65,7 +65,7 @@ dir=SILK_SDK_SRC_%{flavour}_v%{version}
 	CXX="libtool --mode=compile --tag=CXX %{__cxx}" \
 	LDLIBS="$(pwd)/$dir/libSKP_SILK_SDK.la" \
 	LINK.o="libtool --mode=link --tag=CC %{__cc}" \
-	ARCHIVE.cmdline='libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -o $(@:.a=.la) $^'
+	ARCHIVE.cmdline='libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -o $(@:.a=.la) $(^:.o=.lo)'
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SILK_SDK.git/commitdiff/35e0878c14fc6b841a32dd213440c723e97b98f7



More information about the pld-cvs-commit mailing list