summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56>2013-09-07 11:14:17 +0000
committerdominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56>2013-09-07 11:14:17 +0000
commit5c701b48a7271a184f6fe3d5b58895bc56a78a29 (patch)
tree42bdb610bfec773401e20efb9d828b7df39dbe89
parent5c9835ea2bb744536f45f67752d3c55dae65fcf1 (diff)
downloadlibproxy-5c701b48a7271a184f6fe3d5b58895bc56a78a29.tar.gz
bindings: perl: Do not link against libperl.HEADmaster
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). git-svn-id: http://libproxy.googlecode.com/svn/trunk@880 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r--bindings/perl/src/CMakeLists.txt2
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 "")