Skip to content

Commit

Permalink
chore: resolve static linking issue in end
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya committed Feb 24, 2025
1 parent 871c57d commit 0c4959b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/windows_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ else
execute_command "make install/usr/lib/libunwind.a V=1"
fi

cd vendor/nim-libbacktrace
cp ./vendor/libunwind/build/lib/libunwind.a install/usr/lib
cd ../../

Expand All @@ -123,7 +124,7 @@ cd ../../../../..

echo "6. Building libnatpmp"
cd ./vendor/nim-nat-traversal/vendor/libnatpmp-upstream
make -f Makefile CC=gcc CXX=g++ libnatpmp.a V=1
make CC="gcc -fPIC -D_WIN32_WINNT=0x0600 -DNATPMP_STATICLIB" libnatpmp.a V=1
cd ../../../../

echo "7. Building wakunode2"
Expand Down

0 comments on commit 0c4959b

Please sign in to comment.