Skip to content

Commit

Permalink
package/git-crypt: fix build with openssl 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bkuhls authored and user131 committed Sep 18, 2023
1 parent a6d68d4 commit f831c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/git-crypt/git-crypt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11 -DOPENSSL_API_COMPAT=0x30000000L" \
PREFIX=/usr
endef

define GIT_CRYPT_INSTALL_TARGET_CMDS
Expand Down

0 comments on commit f831c12

Please sign in to comment.