Skip to content

Commit

Permalink
Fix build for arm64 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen authored Jan 25, 2024
1 parent 36c49a7 commit 0929ef2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Makevars.ucrt
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
CRT=-ucrt
include Makevars.win
# Used on rtools43 and up
PKG_LIBS = $(shell pkg-config --libs gmpxx mpfr)

# Fallback for older rtools without pkgconfig
ifeq (,$(PKG_LIBS))
CRT=-ucrt
include Makevars.win
endif

0 comments on commit 0929ef2

Please sign in to comment.