File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function cmake_gen() {
68
68
# including cp27-cp27m and cp27-cp27mu.
69
69
PYTHON_FLAGS=" "
70
70
SYSTEM=` uname -s`
71
- if [ SYSTEM == " Darwin" ]; then
71
+ if [ " $ SYSTEM" == " Darwin" ]; then
72
72
if [ " $1 " == " cp27-cp27m" || " $1 " == " " ]; then
73
73
echo " using python abi: $1 "
74
74
if [ -d " /Library/Frameworks/Python.framework/Versions/2.7" ]; then
@@ -77,7 +77,7 @@ function cmake_gen() {
77
77
export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/:{PATH}
78
78
PYTHON_FLAGS=" -DPYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
79
79
-DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
80
- -DPYTHON_LIBRARIES :FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
80
+ -DPYTHON_LIBRARY :FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
81
81
else
82
82
exit 1
83
83
fi
You can’t perform that action at this time.
0 commit comments