Skip to content

Commit 02bd3ec

Browse files
committed
Link everything statically by default
1 parent 2d9a20c commit 02bd3ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ DLL = fbuild-netcache.dll
55
CPPFLAGS = -Wall
66
INCLUDES = -I3rdparty
77
CXXFLAGS = -std=c++20 -Os
8-
LDFLAGS = -shared
9-
LIBS = -lws2_32 -lcrypt32 -lssl -lcrypto
8+
LDFLAGS = -shared -static
9+
LIBS = -lssl -lcrypto -lws2_32 -lcrypt32
1010

1111
$(DLL): $(SRC)
1212
$(CXX) $(CPPFLAGS) $(INCLUDES) $(CXXFLAGS) $^ -o $@ $(LDFLAGS) $(LIBS)

0 commit comments

Comments
 (0)