]> mj.ucw.cz Git - libucw.git/commitdiff
Store path to perl modules into pkgconfig
authorMichal Vaner <vorner@ucw.cz>
Fri, 7 Nov 2008 14:18:11 +0000 (15:18 +0100)
committerMichal Vaner <vorner@ucw.cz>
Fri, 7 Nov 2008 14:18:11 +0000 (15:18 +0100)
ucw/libucw.pc
ucw/perl/UCW/Configure/Paths.pm

index 745f0313f20d12be4c11668c6b15bb0de7a45852..f854252390f9faf04ad761099afc8632e0f7c213 100644 (file)
@@ -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@
index 82ee74bff6e26ed79cd60224a9c87bcb4afd403c..bd22ca3d5f27eb13246543b53062a15b71630c14 100644 (file)
@@ -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.