From 4d83e4431abb90f86c8526a24714f97ee6f5dc55 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 12 Oct 2016 15:33:24 +0200 Subject: [PATCH] getopt/build - set C_INCLUDE_PATH and LIBRARY_PATH to Pmodules installation directories +include and +lib --- getopt/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getopt/build b/getopt/build index d486ed3..b724bd6 100755 --- a/getopt/build +++ b/getopt/build @@ -1,10 +1,13 @@ #!/usr/bin/env modbuild + pbuild::configure() { : } pbuild::build() { + declare -x C_INCLUDE_PATH="${PREFIX}/include" + declare -x LIBRARY_PATH="${PREFIX}/lib" case ${OS} in Linux ) declare -x LDFLAGS="-lintl"