diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk index d562522485..82671b037b 100644 --- a/package/git-crypt/git-crypt.mk +++ b/package/git-crypt/git-crypt.mk @@ -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