Skip to content

Commit

Permalink
Make it compilable under mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgzhg committed Aug 23, 2022
1 parent 260f651 commit 06ee638
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ else
ifneq (, $(findstring armv, $(MACHINE)))
MACHINE := arm
endif

CFLAGS := -shared

ifdef MINGW_PACKAGE_PREFIX
CFLAGS := $(CFLAGS) -lucrtbase
endif
endif

libdir = $(libdir.$(MACHINE))/geany
Expand Down

0 comments on commit 06ee638

Please sign in to comment.