Skip to content

Commit

Permalink
God, I hate OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Apr 22, 2020
1 parent ed12be7 commit 8d45f4f
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 @@ -34,7 +34,7 @@ BUILD_OFILES := $(addprefix $(BUILD)/, $(BUILD_OFILES))
DEPSFILES := $(BUILD_OFILES:.o=.d)

LD := $(if $(CPPFILES),$(CXX),$(CC))
LDFLAGS := -g -Wl,--gc-sections -lbz2
LDFLAGS := -g -lbz2

ifeq ($(OS),Windows_NT)
EXEC_NAME := gallerypack.exe
Expand All @@ -43,7 +43,7 @@ LDFLAGS += -lstdc++fs
endif

ifneq ($(OS),Darwin)
LDFLAGS += -static
LDFLAGS += -static -Wl,--gc-sections
endif

.PHONY: all clean
Expand Down

0 comments on commit 8d45f4f

Please sign in to comment.