Skip to content

Commit

Permalink
Merge pull request #22 from dianomic/1.9.2RC
Browse files Browse the repository at this point in the history
1.9.2RC
  • Loading branch information
dianomicbot authored Oct 4, 2021
2 parents 39d0e72 + a968ffa commit 41cf350
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ else()
include_directories(${Python_INCLUDE_DIRS})
endif()

if(${CMAKE_VERSION} VERSION_LESS "3.12.0")
set(PY_LIB "lib${PYTHON_LIBRARIES}.so")
else()
set(PY_LIB "${Python_LIBRARIES}")
endif()
add_definitions(-DPLUGIN_PYTHON_SHARED_LIBRARY=${PY_LIB})
message(STATUS "Setting -DPYTHON_SHARED_LIBRARY=${PY_LIB} for ${CMAKE_SYSTEM} on ${RELEASE_CODENAME}")

if(${CMAKE_VERSION} VERSION_LESS "3.12.0")
link_directories(${PYTHON_LIBRARY_DIRS})
else()
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.1
1.9.2
2 changes: 1 addition & 1 deletion plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#define FILTER_NAME "simple-python"

const char *default_config = QUOTE({
static const char *default_config = QUOTE({
"plugin" : {
"description" : "Simple Python filter plugin",
"type" : "string",
Expand Down

0 comments on commit 41cf350

Please sign in to comment.