From d77e3cb59fbe51a0b3d05b6e78cbff12edf41d39 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 Jun 2013 08:14:18 +0000 Subject: [PATCH] attempted fix for link issue --- test/Jamfile | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index a76eb661f..5c4af465e 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -7,39 +7,19 @@ exe test_natpmp : test_natpmp.cpp /torrent//torrent explicit test_natpmp ; -rule libtorrent_dependency ( properties * ) -{ - local result ; - -# if msvc in $(properties) -# { - # for some reason, the visual studio debugger seems - # to get very confused with the dynamic linking. - # since debugging unit tests is common, just link - # statically with msvc -# result += /torrent//torrent/static/static/on ; -# } -# else -# { - result += /torrent//torrent/shared/shared/on ; -# } - - return $(result) ; -} - lib libtorrent_test : # sources setup_transfer.cpp dht_server.cpp peer_server.cpp : # requirements - @libtorrent_dependency + /torrent//torrent/shared/shared/on ; project : requirements main.cpp - @libtorrent_dependency + /torrent//torrent/shared/shared/on libtorrent_test/shared : default-build multi