Skip to content

Commit

Permalink
Make sure we use the system's ini.h if TUP_USE_SYSTEM_INIH=y
Browse files Browse the repository at this point in the history
We can also skip compiling our copy of ini.c
  • Loading branch information
gittup committed Mar 18, 2024
1 parent 23c0f35 commit 889bd6c
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 136 deletions.
4 changes: 4 additions & 0 deletions Tuprules.tup
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ CFLAGS += -I$(TUP_CWD)/src/pcre
CFLAGS += -DPCRE_STATIC
endif

ifneq (@(TUP_USE_SYSTEM_INIH),y)
CFLAGS += -I$(TUP_CWD)/src/inih
endif

ifeq ($(TUP_SERVER),ldpreload)
FPIC = -fpic
SHARED = -shared
Expand Down
Loading

0 comments on commit 889bd6c

Please sign in to comment.