浏览代码

Fix link order of nettle and hogweed

Hogweed needs nettle, not the other way around. So make sure they
are specified in the correct order for the static link to succeed.
tags/v1.10.90
Pierre Ossman 4 年前
父节点
当前提交
5ef3a70d1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      cmake/StaticBuild.cmake

+ 1
- 1
cmake/StaticBuild.cmake 查看文件

@@ -41,7 +41,7 @@ if(BUILD_STATIC)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -ltasn1")
endif()
if(NETTLE_LIBRARY)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lnettle -lhogweed -lgmp")
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lhogweed -lnettle -lgmp")
endif()
if(GCRYPT_LIBRARY)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lgcrypt -lgpg-error")

正在加载...
取消
保存