Skip to content

Commit

Permalink
Accept libcurl 8 (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui authored Jan 6, 2024
1 parent bd2e5c0 commit 0fb44e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ MKDIR_P := @mkdir -p
DEFINES := -DPOAC_VERSION='"$(VERSION)"'
INCLUDES := -isystem $(O)/DEPS/toml11 \
$(shell pkg-config --cflags 'libgit2 >= 1.1.0, libgit2 < 2.0.0') \
$(shell pkg-config --cflags 'libcurl >= 7.79.1, libcurl < 8.0.0') \
$(shell pkg-config --cflags 'libcurl >= 7.79.1, libcurl < 9.0.0') \
$(shell pkg-config --cflags 'nlohmann_json >= 3.10.5, nlohmann_json < 4.0.0')
LIBS := $(shell pkg-config --libs 'libgit2 >= 1.1.0, libgit2 < 2.0.0') \
$(shell pkg-config --libs 'libcurl >= 7.79.1, libcurl < 8.0.0')
$(shell pkg-config --libs 'libcurl >= 7.79.1, libcurl < 9.0.0')

SRCS := $(shell find src -name '*.cc')
OBJS := $(patsubst src/%,$(O)/%,$(SRCS:.cc=.o))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If your environment is not included in the released packages, you have to build
* libgit2: `>=1.1.0 && <2.0.0`
* `libgit2-dev` on APT
* `libgit2` on Homebrew
* libcurl: `>=7.79.1 && <8.0.0`
* libcurl: `>=7.79.1 && <9.0.0`
* `libcurl4-openssl-dev` on APT
* `curl` on Homebrew
* nlohmann_json: `>=3.10.5 && <4.0.0`
Expand Down
2 changes: 1 addition & 1 deletion poac.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version = "0.9.0"

[dependencies]
"ToruNiina/toml11" = {git = "https://github.com/ToruNiina/toml11.git", tag = "v3.8.0"}
libcurl = {version = "7.79.1", system = true}
libcurl = {version = ">=7.79.1 && <9", system = true}
libgit2 = {version = "1.1.0", system = true}
nlohmann_json = {version = "3.10.5", system = true}

Expand Down

0 comments on commit 0fb44e9

Please sign in to comment.