[segyio] 306/376: Don't link to libpython

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit f2505316b117a99eafa88ac8274b3739ed32220b
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Fri Jun 16 15:06:42 2017 +0200

    Don't link to libpython
    
    Linking to libpython isn't necessary and is handled by the interpreter
    anyway, and messes up packaging.
---
 python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 2e43a99..b24a119 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -30,7 +30,7 @@ if (NOT PYTHONLIBS_FOUND)
 endif()
 
 add_library(_segyio MODULE segyio/_segyio.c)
-target_link_libraries(_segyio PUBLIC segyio ${PYTHON_LIBRARIES})
+target_link_libraries(_segyio PUBLIC segyio)
 target_include_directories(_segyio PRIVATE ${PYTHON_INCLUDE_DIRS})
 export(TARGETS _segyio segyio-shared segyio-static APPEND FILE segyio-config.cmake)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list