Skip to content

Commit

Permalink
[boost] Add bzip2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Massing authored and Manuel Massing committed Jan 25, 2017
1 parent a3aeb99 commit 44590c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/boost/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: boost
Version: 1.62-11
Description: Peer-reviewed portable C++ source libraries
Build-Depends: zlib
Build-Depends: zlib, bzip2
6 changes: 5 additions & 1 deletion ports/boost/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ message(STATUS "Bootstrapping done")

set(B2_OPTIONS
-sZLIB_INCLUDE="${CURRENT_INSTALLED_DIR}\\include"
-sNO_BZIP2=1
-sBZIP2_INCLUDE="${CURRENT_INSTALLED_DIR}\\include"
-j$ENV{NUMBER_OF_PROCESSORS}
--debug-configuration
--hash
Expand Down Expand Up @@ -67,12 +67,16 @@ set(B2_OPTIONS_DBG
${B2_OPTIONS}
-sZLIB_BINARY=zlibd
-sZLIB_LIBPATH="${CURRENT_INSTALLED_DIR}\\debug\\lib"
-sBZIP2_BINARY=bz2
-sBZIP2_LIBPATH="${CURRENT_INSTALLED_DIR}\\debug\\lib"
)

set(B2_OPTIONS_REL
${B2_OPTIONS}
-sZLIB_BINARY=zlib
-sZLIB_LIBPATH="${CURRENT_INSTALLED_DIR}\\lib"
-sBZIP2_BINARY=bz2
-sBZIP2_LIBPATH="${CURRENT_INSTALLED_DIR}\\lib"
)

file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
Expand Down

0 comments on commit 44590c5

Please sign in to comment.