lib/upnp: use include path without upnp/ prefix and honor pkg-config CFLAGS
If libupnp is installed in a non-standard location we must rely on the include path provided by $(pkg-config --cflags libupnp). Relative to the path given from that command no prefix must be used to find the respective files.
This commit is contained in:
committed by
Max Kellermann
parent
75d068b7cd
commit
5a11e03725
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <upnp/upnp.h>
|
||||
#include <upnp.h>
|
||||
|
||||
void
|
||||
UpnpClientGlobalInit(UpnpClient_Handle &handle);
|
||||
|
||||
Reference in New Issue
Block a user