From 7ce8b3815dbaf2245f47f29157a991f4c35e1e13 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Tue, 5 Mar 2019 12:02:00 +0100 Subject: [PATCH] attempt to fix libs3 linking --- bacula.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula.spec b/bacula.spec index f2c2794..5e38e0d 100644 --- a/bacula.spec +++ b/bacula.spec @@ -456,7 +456,7 @@ cd ../.. %endif %{__make} \ - %{?with_s3:S3_LIBS="$PWD/libs3-%{libs3_version}/build/lib -ls3 $(pkg-config --libs libcurl libxml2)"} \ + %{?with_s3:S3_LIBS="$PWD/libs3-%{libs3_version}/build/lib/libs3.a $(pkg-config --libs libcurl libxml-2.0)"} \ 2>&1 | tee log # check for build errors grep "Error in" log && exit 1 -- 2.43.0