Skip to content
Snippets Groups Projects
Commit adac7cf2 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

pkgconfig: link upnp, nat-pmp

Change-Id: I6b373a24e1ca9db3ad4684627d1c27b5a9ace706
parent 4f7e8014
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ if (DHTNET_PUPNP) ...@@ -81,6 +81,7 @@ if (DHTNET_PUPNP)
src/upnp/protocol/pupnp/pupnp.cpp src/upnp/protocol/pupnp/pupnp.cpp
src/upnp/protocol/pupnp/upnp_igd.cpp src/upnp/protocol/pupnp/upnp_igd.cpp
) )
set (requiresprivate "${requiresprivate} libupnp")
endif() endif()
endif() endif()
if (DHTNET_NATPMP) if (DHTNET_NATPMP)
...@@ -99,6 +100,7 @@ if (DHTNET_NATPMP) ...@@ -99,6 +100,7 @@ if (DHTNET_NATPMP)
src/upnp/protocol/natpmp/nat_pmp.cpp src/upnp/protocol/natpmp/nat_pmp.cpp
src/upnp/protocol/natpmp/pmp_igd.cpp src/upnp/protocol/natpmp/pmp_igd.cpp
) )
set (libsprivate "${libsprivate} ${natpmp_LIBRARIES}")
endif() endif()
endif() endif()
......
...@@ -6,6 +6,7 @@ Name: dhtnet ...@@ -6,6 +6,7 @@ Name: dhtnet
Description: C++ peer to peer networking library Description: C++ peer to peer networking library
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -ldhtnet Libs: -L${libdir} -ldhtnet
Libs.private: @libsprivate@
Requires: opendht >= 2.6 Requires: opendht >= 2.6
Requires.private: libpjproject Requires.private: libpjproject @requiresprivate@
Cflags: -I${includedir} Cflags: -I${includedir}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment