Skip to content

Commit 6ff6eee

Browse files
committed
Copy the TBB header files
Signed-off-by: Hamada S. Badr <hamada.s.badr@gmail.com>
1 parent c843b2a commit 6ff6eee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Makevars.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ ifdef TBB_LIB
101101
cp $(TBB_LIB)/libtbb.so ../inst/lib/$(ARCH_DIR)/libtbb.so; \
102102
cp $(TBB_LIB)/libtbbmalloc.so ../inst/lib/$(ARCH_DIR)/libtbbmalloc.so; \
103103
rm -Rf ../inst/include/serial/ ../inst/include/tbb/; \
104-
rm -Rf ../inst/include/tbb_local/
104+
rm -Rf ../inst/include/tbb_local/; \
105+
mkdir -p ../inst/include; \
106+
cp -R $(TBB_INC)/serial ../inst/include/; \
107+
cp -R $(TBB_INC)/tbb ../inst/include/
105108
else
106109
echo "Building TBB library from source code..."; \
107110
mkdir -p ../inst/lib/$(ARCH_DIR); \

0 commit comments

Comments
 (0)