diff --git a/libraw.spec b/libraw.spec index c56aef3..f26493e 100644 --- a/libraw.spec +++ b/libraw.spec @@ -86,7 +86,7 @@ against LibRaw. LibRaw does not provide dynamic libraries. %build # This is not the autotools generated configure script -CFLAGS="%{optflags}" sh configure -P %{_prefix} -o -l -I %{_includedir} -L %{libdir} +CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix} -o -l -I %{_includedir} -L %{libdir} %__make %{?_smp_mflags} %install