Pārlūkot izejas kodu

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.

(cherry picked from commit 5ef3a70d1d)
tags/v1.10.1
Pierre Ossman pirms 4 gadiem
vecāks
revīzija
d42625216f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      cmake/StaticBuild.cmake

+ 1
- 1
cmake/StaticBuild.cmake Parādīt failu

@@ -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")

Notiek ielāde…
Atcelt
Saglabāt