Skip to content

Commit

Permalink
Link everything statically by default
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Jan 5, 2024
1 parent 2d9a20c commit 02bd3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ DLL = fbuild-netcache.dll
CPPFLAGS = -Wall
INCLUDES = -I3rdparty
CXXFLAGS = -std=c++20 -Os
LDFLAGS = -shared
LIBS = -lws2_32 -lcrypt32 -lssl -lcrypto
LDFLAGS = -shared -static
LIBS = -lssl -lcrypto -lws2_32 -lcrypt32

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

0 comments on commit 02bd3ec

Please sign in to comment.