- once more with feeling... fix for missing .a

This commit is contained in:
Peter Jones 2006-05-23 15:59:50 +00:00
parent 32d7cda924
commit 96db4d9544

View File

@ -42,14 +42,13 @@ based on the S-Lang extension language.
%build
%configure --includedir=%{_includedir}/slang
make -C src elf
make all
%install
rm -rf ${RPM_BUILD_ROOT}
make -C src DESTDIR=${RPM_BUILD_ROOT} install-elf
ln -sf libslang.a ${RPM_BUILD_ROOT}%{_libdir}/libslang.a
ln -sf libslang-utf8.a ${RPM_BUILD_ROOT}%{_libdir}/libslang-utf8.a
cp src/objs/libslang.a ${RPM_BUILD_ROOT}%{_libdir}/libslang.a
%clean
rm -rf ${RPM_BUILD_ROOT}