summaryrefslogtreecommitdiff
path: root/pcre/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pcre/build.sh')
-rw-r--r--pcre/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre/build.sh b/pcre/build.sh
index 6c1784a..acf7060 100644
--- a/pcre/build.sh
+++ b/pcre/build.sh
@@ -20,6 +20,10 @@ depends=(
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
+
+ if [[ $(uname -s) == Darwin ]]; then
+ LDFLAGS="-L${_runtime}/lib"
+ fi
}
function build() {