From d2d9caca63ad66bd0dbecffaeadd72bf032ee1be8de8dca5b572eafaff451c7f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 11 Jan 2017 10:48:03 +0000 Subject: [PATCH] LDFLAGS is wrong, must use LIBS OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=87 --- libraw.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libraw.spec b/libraw.spec index 2fdb3e2..a30edd4 100644 --- a/libraw.spec +++ b/libraw.spec @@ -47,7 +47,7 @@ LibRaw is based on the source codes of the dcraw utility, where part of drawbacks have already been eliminated and part will be fixed in future. %package tools -Summary: Library for reading RAW files obtained from digital photo cameras -- Tools +Summary: Tools for reading RAW files obtained from digital photo cameras Group: Productivity/Graphics/Other %description tools @@ -100,8 +100,7 @@ against LibRaw. LibRaw does not provide dynamic libraries. %build export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB" -# manually add linker flags for zlib: -export LDFLAGS="$LDFLAGS -lz" +export LIBS="$LIBS -lz" %configure # build env is too broken for parallel build make %{?_smp_mflags}