mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update cross building for Windows on Linux
This updates the instructions and the plumbing to be able to link against a locally built libgit2 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
18303b6f43
commit
4edf37f9be
5 changed files with 20 additions and 3 deletions
|
|
@ -126,7 +126,14 @@ LIBS *= $$XSLT_LIBS $$XML2_LIBS
|
|||
# We're searching for:
|
||||
# libzip
|
||||
# sqlite3
|
||||
link_pkgconfig: PKGCONFIG += libzip sqlite3 libgit2
|
||||
link_pkgconfig: PKGCONFIG += libzip sqlite3
|
||||
|
||||
isEmpty(LIBGIT2DEVEL) {
|
||||
PKGCONFIG += libgit2
|
||||
} else {
|
||||
INCLUDEPATH += $$LIBGIT2DEVEL/include
|
||||
LIBS += -L$$LIBGIT2DEVEL/build -lgit2 -lz -lcrypto
|
||||
}
|
||||
|
||||
# Add libiconv if needed
|
||||
link_pkgconfig: packagesExist(libiconv): PKGCONFIG += libiconv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue