getopt/build

- set C_INCLUDE_PATH and LIBRARY_PATH to Pmodules installation directories +include and +lib
This commit is contained in:
2016-10-12 15:33:24 +02:00
parent addc88e19f
commit 4d83e4431a
+3
View File
@@ -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"