Skip to content

Commit

Permalink
PyGMO: Don't hardcode boost library names
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jan 22, 2015
1 parent 49e1a14 commit b079c37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pygmo/bld.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
REM Rename needed boost libraries so that cmake can find them
pushd %LIBRARY_LIB%
for %%x in (system serialization thread python) do (
copy libboost_%%x-mgw47-mt-1_57.dll.a boost_%%x.dll.a
copy /b libboost_%%x-*.dll.a boost_%%x.dll.a
if errorlevel 1 exit 1
copy libboost_%%x-mgw47-mt-1_57.dll boost_%%x.dll
copy /b libboost_%%x-*.dll boost_%%x.dll
if errorlevel 1 exit 1
)
popd
Expand Down Expand Up @@ -40,7 +40,7 @@ popd
pushd %LIBRARY_LIB%
for %%x in (chrono system serialization thread python) do (
for %%y in (algorithm core migration problem topology util) do (
copy libboost_%%x-mgw47-mt-1_57.* %PYGMO_DIR%\%%y
copy /b libboost_%%x-*.* %PYGMO_DIR%\%%y
if errorlevel 1 exit 1
)
)
Expand Down

0 comments on commit b079c37

Please sign in to comment.