correction
This commit is contained in:
parent
cd1bb350b4
commit
44a5c554f1
@ -31,12 +31,10 @@ library.
|
|||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
|
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
|
||||||
mv Makefile Makefile.shared
|
mv Makefile Makefile.shared
|
||||||
make -f Makefile.shared
|
|
||||||
|
|
||||||
# now build the static lib
|
# now build the static lib
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
|
||||||
mv Makefile Makefile.static
|
mv Makefile Makefile.static
|
||||||
make -f Makefile.static
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
Loading…
Reference in New Issue
Block a user