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 @@ -10,9 +10,9 @@ BOOST_LIB2=boost_python$(PYTHON_VERSION_MN)
10
10
11
11
# Detection of -lboost_python option to use is done by lanching gcc, which
12
12
# generates a different error message if it cannot find library.
13
- ifeq ($(shell gcc -l$(BOOST_LIB1 ) 2>&1 | grep -c "undefined reference to .main.") ,1)
13
+ ifeq ($(shell LANG=C gcc -l$(BOOST_LIB1 ) 2>&1 | grep -c "undefined reference to .main.") ,1)
14
14
BOOST_LIB = $(BOOST_LIB1 )
15
- else ifeq ($(shell gcc -l$(BOOST_LIB2) 2>&1 | grep -c "undefined reference to .main."),1)
15
+ else ifeq ($(shell LANG=C gcc -l$(BOOST_LIB2) 2>&1 | grep -c "undefined reference to .main."),1)
16
16
BOOST_LIB = $(BOOST_LIB2 )
17
17
else
18
18
$(error Cannot find boost_python library from $(BOOST_LIB1) or $(BOOST_LIB2))
You can’t perform that action at this time.
0 commit comments