diff options
author | dominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56> | 2013-09-07 11:14:17 +0000 |
---|---|---|
committer | dominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56> | 2013-09-07 11:14:17 +0000 |
commit | 5077b7563369a89d906fa32c040bb953c3b628bb (patch) | |
tree | 42bdb610bfec773401e20efb9d828b7df39dbe89 | |
parent | 25cc320452726924697de856e523c52acaa75645 (diff) | |
download | libproxy-git-5077b7563369a89d906fa32c040bb953c3b628bb.tar.gz |
bindings: perl: Do not link against libperl.
As the binding is always running in context of perl, the
perl libraries are guaranteed to be in memory and we do not
have to take care of those.
This allows the perl bindings to be built against a different
version of perl as it will be finally run with (perl keeps on
installing the library in a versioned directory, hence on each
perl upgrade, a rebuild is needed in order to link against the
new location of the library).
-rw-r--r-- | bindings/perl/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/perl/src/CMakeLists.txt b/bindings/perl/src/CMakeLists.txt index dbf6dd6..fa174de 100644 --- a/bindings/perl/src/CMakeLists.txt +++ b/bindings/perl/src/CMakeLists.txt @@ -12,7 +12,7 @@ set(Libproxy_LIB_SRCS Libproxy.c) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/blib/arch/auto/Net) add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS}) -target_link_libraries(PLlibproxy ${PERL_LIBRARY} libproxy pthread) +target_link_libraries(PLlibproxy libproxy pthread) set_target_properties(PLlibproxy PROPERTIES OUTPUT_NAME "Libproxy") set_target_properties(PLlibproxy PROPERTIES PREFIX "") |