File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ binary_test=$(cabal --project-file=cabal.project.release list-bin ghcup-test)
27
27
binary_opttest=$( cabal --project-file=cabal.project.release list-bin ghcup-optparse-test)
28
28
ver=$( " ${binary} " --numeric-version)
29
29
strip_binary " ${binary} "
30
+
31
+ if [ " ${OS} " = " macOS" ] ; then
32
+ otool -L " ${binary} " | grep libyaml && { echo " undesired libyaml linking" ; exit 5 ; }
33
+ fi
34
+
30
35
cp " ${binary} " " out/${ARTIFACT} -${ver}${ext} "
31
36
cp " ${binary_test} " " out/test-${ARTIFACT} -${ver}${ext} "
32
37
cp " ${binary_opttest} " " out/test-optparse-${ARTIFACT} -${ver}${ext} "
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ optimization: 2
9
9
package ghcup
10
10
flags: +tui
11
11
12
+ package libyaml-streamly
13
+ flags: -system-libyaml
14
+
15
+ package libyaml
16
+ flags: -system-libyaml
17
+
12
18
if os(linux)
13
19
package ghcup
14
20
flags: +yaml-streamly
You can’t perform that action at this time.
0 commit comments