Skip to content

Commit b5bd3fe

Browse files
authored
Merge pull request #499 from aaron-skydio/patch-1
Fix build with spaces
2 parents bf8f69a + 0bc912b commit b5bd3fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/install_travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# symengine's bin/install_travis.sh will install miniconda
44

5-
export conda_pkgs="python=${PYTHON_VERSION} pip 'cython>=0.29.24' pytest gmp mpfr"
5+
export conda_pkgs="python=${PYTHON_VERSION} pip pytest gmp mpfr"
66

77
if [[ "${WITH_NUMPY}" != "no" ]]; then
88
export conda_pkgs="${conda_pkgs} numpy";
@@ -27,7 +27,7 @@ if [[ "${WITH_SAGE}" == "yes" ]]; then
2727
export conda_pkgs="${conda_pkgs} sage=8.1";
2828
fi
2929

30-
conda install -q ${conda_pkgs}
30+
conda install -q ${conda_pkgs} "cython>=0.29.24"
3131

3232
if [[ "${WITH_SYMPY}" != "no" ]]; then
3333
pip install sympy;

cmake/FindPython.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ macro(ADD_PYTHON_LIBRARY name)
130130
configure_file(${CMAKE_SOURCE_DIR}/cmake/version_script.txt
131131
${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt @ONLY)
132132
set_property(TARGET ${name} APPEND_STRING PROPERTY
133-
LINK_FLAGS " -Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt")
133+
LINK_FLAGS " \"-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt\"")
134134
ELSE()
135135
add_library(${name} SHARED ${ARGN})
136136
ENDIF()

0 commit comments

Comments
 (0)