From 35e0878c14fc6b841a32dd213440c723e97b98f7 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 11 Jul 2013 17:32:40 +0200 Subject: [PATCH] - 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 -- 2.44.0