added LIBS=-lrt to Makefile.am for static libevent in the tor rpms.

This commit is contained in:
Andrew Lewman 2009-07-08 13:14:48 -04:00 committed by Roger Dingledine
parent 6277aee031
commit be5faae7a9

View File

@ -26,14 +26,14 @@ dist-rpm:
mkdir $$RPM_BUILD_DIR/$$subdir; \ mkdir $$RPM_BUILD_DIR/$$subdir; \
done; \ done; \
mkdir $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION); \ mkdir $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION); \
cp -R ./ $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION)/; \ cp -R ./ $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION)/; \
pushd $$RPM_BUILD_DIR/SOURCES/; \ pushd $$RPM_BUILD_DIR/SOURCES/; \
tar zcf tor-$(VERSION).tar.gz ./; \ tar zcf tor-$(VERSION).tar.gz ./; \
popd; \ popd; \
rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" tor.spec; \ LIBS=-lrt rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" tor.spec; \
mv $$RPM_BUILD_DIR/SRPMS/* .; \ mv $$RPM_BUILD_DIR/SRPMS/* .; \
mv $$RPM_BUILD_DIR/RPMS/* .; \ mv $$RPM_BUILD_DIR/RPMS/* .; \
rm -rf $$RPM_BUILD_DIR rm -rf $$RPM_BUILD_DIR
dist-osx: dist-osx: