Use SHLIB_OPENMP_CFLAGS
@@ -4,7 +4,7 @@ export PKG_CXXFLAGS=$(CXX_VISIBILITY)
TARGET = $(subst 64,x86_64,$(subst 32,i686,$(WIN)))-pc-windows-msvc
LIBDIR = ./rust/target/$(TARGET)/release
STATLIB = $(LIBDIR)/libchangeforest.a
-PKG_LIBS = -L$(LIBDIR) -lchangeforest -lws2_32 -ladvapi32 -luserenv
+PKG_LIBS = -L$(LIBDIR) -lchangeforest -lws2_32 -ladvapi32 -luserenv $(SHLIB_OPENMP_CFLAGS)
all: C_clean
