Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Oct 8, 2020
1 parent e5aa6e6 commit 47d2100
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ CFLAGS += -D_CRT_SECURE_NO_DEPRECATE
else
CC ?= gcc
TARGET := $(TARGET_NAME)_libretro.dll
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined -lws2_32
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
WINSOCKS := -lws2_32
endif

LIBM ?= -lm
Expand Down Expand Up @@ -506,7 +507,7 @@ else ifeq ($(STATIC_LINKING), 1)
else ifeq ($(platform),genode)
$(LD) -o $@ $(OBJECTS) $(LDFLAGS)
else
$(CXX) $(fpic) $(SHARED) $(INCLUDES) -o $@ $(OBJECTS) $(LDFLAGS)
$(CXX) $(fpic) $(SHARED) $(INCLUDES) -o $@ $(OBJECTS) $(LDFLAGS) $(WINSOCKS)
endif


Expand Down

0 comments on commit 47d2100

Please sign in to comment.