Skip to content

Commit 074123b

Browse files
committed
Fix the Darwin build of cardano-node (missing liblmdb.so)
1 parent bc614e5 commit 074123b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/internal/any-darwin.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ in rec {
142142
143143
cd $out
144144
mkdir -p ${exeName}-lib
145-
mv *.dylib ${exeName}-lib/
145+
mv *.dylib *.so ${exeName}-lib/
146146
otool -L ${exeName} \
147147
| { grep -E '^\s*@executable_path' || true ; } \
148148
| sed -r 's/^\s*//g ; s/ \(.*//g' \
@@ -153,7 +153,7 @@ in rec {
153153
codesign -f -s - ${exeName} || true
154154
155155
cd ${exeName}-lib
156-
ls *.dylib | while IFS= read -r dylib ; do
156+
ls *.dylib *.so | while IFS= read -r dylib ; do
157157
otool -L "$dylib" \
158158
| { grep -E '^\s*@executable_path' || true ; } \
159159
| sed -r 's/^\s*//g ; s/ \(.*//g' \

0 commit comments

Comments
 (0)