From 5c701b48a7271a184f6fe3d5b58895bc56a78a29 Mon Sep 17 00:00:00 2001 From: "dominique.leuenberger@gmail.com" Date: Sat, 7 Sep 2013 11:14:17 +0000 Subject: 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). git-svn-id: http://libproxy.googlecode.com/svn/trunk@880 c587cffe-e639-0410-9787-d7902ae8ed56 --- bindings/perl/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "") -- cgit v1.2.1