gentoo-overlay/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch

20 lines
475 B
Diff

From: Julian Ospald <hasufell@gentoo.org>
Date: Thu May 31 21:37:47 UTC 2012
Subject: build system
fix underlinking in test phase
wrt https://bugs.gentoo.org/show_bug.cgi?id=418447
--- build/Makefile.test
+++ build/Makefile.test
@@ -48,8 +48,8 @@
USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
CPLUS_FLAGS += $(USE_PROXY_FLAG)
LINK_TBB.LIB = $(PROXY.LIB)
- LIBS += $(LIBDL)
-endif
+endif
+LIBS += $(LIBDL)
include $(tbb_root)/build/common_rules.inc