mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:13:24 +00:00
Try hard not to link against a shared libdivecomputer
Versioning is wrong. It's not a library shared with other projects. And at least on Mac and Windows we bundle it with the app, anyway. Requested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a3d279b776
commit
7db3093b1b
1 changed files with 2 additions and 2 deletions
|
@ -48,9 +48,9 @@ PKG_CONFIG_OUT = $$system(pkg-config --version 2> $$NUL)
|
|||
# about it if it doesn't.
|
||||
LIBS += $$system(pkg-config --libs libusb-1.0 2> /dev/null)
|
||||
} else:exists(/usr/local/lib/libdivecomputer.a) {
|
||||
LIBS += -L/usr/local/lib -ldivecomputer
|
||||
LIBS += /usr/local/lib/libdivecomputer.a
|
||||
} else:exists(/usr/local/lib64/libdivecomputer.a) {
|
||||
LIBS += -L/usr/local/lib64 -ldivecomputer
|
||||
LIBS += /usr/local/lib64/libdivecomputer.a
|
||||
} else:link_pkgconfig {
|
||||
# find it via pkg-config
|
||||
PKGCONFIG += libdivecomputer
|
||||
|
|
Loading…
Add table
Reference in a new issue