Skip to content

Commit

Permalink
Fix -pthread linking
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 14, 2023
1 parent dc78cd9 commit 2dc4c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TARGET = lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH)
PKG_LIBS = \
-L$(RWINLIB)/$(TARGET) \
-L$(RWINLIB)/lib \
-lwinhttp -lcurl -lnghttp2 -lssh2 -lz -lssl -lcrypto -lgdi32 -lws2_32 -lcrypt32 -lbcrypt -lwldap32
-lwinhttp -lcurl -lnghttp2 -lssh2 -lz -lssl -lcrypto -pthread -lgdi32 -lws2_32 -lcrypt32 -lbcrypt -lwldap32

PKG_CPPFLAGS= \
-I$(RWINLIB)/include -DCURL_STATICLIB -DSTRICT_R_HEADERS
Expand Down

0 comments on commit 2dc4c0a

Please sign in to comment.