From 6e9edaa874ffc56c3e1e1baa05b4b68bd89ef79f Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Fri, 7 Nov 2008 15:18:11 +0100 Subject: [PATCH] Store path to perl modules into pkgconfig --- ucw/libucw.pc | 3 +++ ucw/perl/UCW/Configure/Paths.pm | 1 + 2 files changed, 4 insertions(+) diff --git a/ucw/libucw.pc b/ucw/libucw.pc index 745f0313..f8542523 100644 --- a/ucw/libucw.pc +++ b/ucw/libucw.pc @@ -9,6 +9,9 @@ threads=-lpthread threads= #endif +perl_modules_dir=@INSTALL_PERL_DIR@ +perl_module_flags=-I${perl_modules_dir} + Name: libucw Description: A library of utility functions and data structures Version: @SHERLOCK_VERSION@ diff --git a/ucw/perl/UCW/Configure/Paths.pm b/ucw/perl/UCW/Configure/Paths.pm index 82ee74bf..bd22ca3d 100644 --- a/ucw/perl/UCW/Configure/Paths.pm +++ b/ucw/perl/UCW/Configure/Paths.pm @@ -39,6 +39,7 @@ Set("INSTALL_LOG_DIR", '$(INSTALL_VAR_PREFIX)log'); Set("INSTALL_STATE_DIR", '$(INSTALL_VAR_PREFIX)lib'); Set("INSTALL_RUN_DIR", '$(INSTALL_VAR_PREFIX)run'); Set("INSTALL_DOC_DIR", '$(INSTALL_USR_PREFIX)share/doc'); +Set("INSTALL_PERL_DIR", '$(INSTALL_LIB_DIR)/perl5'); # Remember PKG_CONFIG_PATH used for building, so that it will be propagated to # pkg-config's run locally in the makefiles. -- 2.39.2