Skip to content

Commit 4d46ff0

Browse files
committed
correct python link flags
1 parent 59fbdc7 commit 4d46ff0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

binding/python/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ if(with_python_binding)
3939

4040
# link library to kipr objects
4141
target_link_libraries(kipr_python PRIVATE ${KIPR_MODULES})
42-
target_link_libraries(kipr_python PRIVATE ${KIPR_MODULE_OBJECTS})
43-
set_target_properties(kipr_python PROPERTIES POSITION_INDEPENDENT_CODE ON)
42+
target_link_libraries(kipr_python PRIVATE "-Wl,-Bsymbolic" ${KIPR_MODULE_OBJECTS})
4443

4544
# according to swig specifications, the output library must be
4645
# named _kipr.so

0 commit comments

Comments
 (0)