diff options
author | Andrew Lewman <andrew@torproject.org> | 2009-06-24 15:57:09 -0400 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2009-06-24 15:57:09 -0400 |
commit | 3f0aede7ff7ebed7895644af1dcf84657a4f4016 (patch) | |
tree | dfdda8a276d284808a1aec74beb102ecc51fc202 | |
parent | 2bcf2cb099e05cc7d8f44794039da8d3fed0ba65 (diff) | |
download | tor-3f0aede7ff7ebed7895644af1dcf84657a4f4016.tar.gz tor-3f0aede7ff7ebed7895644af1dcf84657a4f4016.zip |
update the dist-rpm section of Makefile to allow for static libevent in
rpms
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am index e63e2836df..f79af51be3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,14 +26,14 @@ dist-rpm: mkdir $$RPM_BUILD_DIR/$$subdir; \ done; \ mkdir $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION); \ - cp -R ./ $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION)/; \ - pushd $$RPM_BUILD_DIR/SOURCES/; \ - tar zcf tor-$(VERSION).tar.gz ./; \ - popd; \ - rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" tor.spec; \ - mv $$RPM_BUILD_DIR/SRPMS/* .; \ - mv $$RPM_BUILD_DIR/RPMS/* .; \ - rm -rf $$RPM_BUILD_DIR + cp -R ./ $$RPM_BUILD_DIR/SOURCES/tor-$(VERSION)/; \ + pushd $$RPM_BUILD_DIR/SOURCES/; \ + tar zcf tor-$(VERSION).tar.gz ./; \ + popd; \ + LIBS=-lrt rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" tor.spec; \ + mv $$RPM_BUILD_DIR/SRPMS/* .; \ + mv $$RPM_BUILD_DIR/RPMS/* .; \ + rm -rf $$RPM_BUILD_DIR dist-osx: |