Skip to content

Commit

Permalink
core: fix detection of python shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
halindrome authored and flashcode committed Feb 7, 2016
2 parents 3e5bd0b + b8ed057 commit 96e5b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if(PYTHON_EXECUTABLE)
)

execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBS') + ' ' + get_config_var('LINKFORSHARED'))"
OUTPUT_VARIABLE PYTHON_LFLAGS
)

Expand Down

0 comments on commit 96e5b0f

Please sign in to comment.