mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -05:00
Avoid Debian libupnp-1.6.x workaround fiddling libupnp-1.8.x builds
This commit is contained in:
parent
1020a00c34
commit
5622262c2d
@ -194,13 +194,13 @@ linux-* {
|
||||
}
|
||||
}
|
||||
|
||||
# Check if the systems libupnp has been Debian-patched
|
||||
system(grep -E 'char[[:space:]]+PublisherUrl' /usr/include/upnp/upnp.h >/dev/null 2>&1) {
|
||||
# Normal libupnp
|
||||
} else {
|
||||
contains(RS_UPNP_LIB, threadutil) { # ensure we don't break libpnp-1.8.x
|
||||
# Check if the systems libupnp-1.6.x has been Debian-patched
|
||||
!system(grep -E 'char[[:space:]]+PublisherUrl' /usr/include/upnp/upnp.h >/dev/null 2>&1) {
|
||||
# Patched libupnp or new unreleased version
|
||||
DEFINES *= PATCHED_LIBUPNP
|
||||
}
|
||||
}
|
||||
|
||||
PKGCONFIG *= libssl
|
||||
equals(RS_UPNP_LIB, "upnp ixml threadutil"):PKGCONFIG *= libupnp
|
||||
|
Loading…
x
Reference in New Issue
Block a user