Skip to content

Commit

Permalink
Fix lddlflags (#61)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Jul 14, 2023
2 parents 711d349 + 1953f07 commit 018f8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ fi
if [[ "${target_platform}" == osx-* ]]; then
sed -i.bak "s|--sysroot=$SDKROOT||g" Config_heavy.pl
sed -i.bak "s|$SDKROOT|\$sdkroot|g" Config_heavy.pl
sed -i.bak "/^lddlflags/ s|-Wl,-rpath||g" Config_heavy.pl
sed -i.bak "/^lddlflags/ s|-Wl,||g" Config_heavy.pl
sed -i.bak "/^lddlflags/ s|-mmacosx-version-min=[0-9\.]*||g" Config_heavy.pl
sed -i.bak "/^lddlflags/ s|-fstack-protector-strong||g" Config_heavy.pl
sed -i.bak "s|$SDKROOT|\$sdkroot|g" Config.pm
fi

Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source:
# sha1 hashes published at: http://strawberryperl.com/releases.html

build:
number: 3
number: 4
string: {{ PKG_BUILDNUM }}_h{{ PKG_HASH }}_strawberry # [win]
string: {{ PKG_BUILDNUM }}_h{{ PKG_HASH }}_perl5 # [not win]
run_exports:
Expand Down

0 comments on commit 018f8e5

Please sign in to comment.