diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch b/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch new file mode 100644 index 0000000000..1397fc6a24 --- /dev/null +++ b/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Description: Also install mqtt_protocol.h, as is done in Makefile | ||
2 | Author: Gianfranco Costamagna <locutusofborg@debian.org> | ||
3 | Bug-Debian: https://bugs.debian.org/951116 | ||
4 | Forwarded: https://github.com/eclipse/mosquitto/pull/1599 | ||
5 | Last-Update: 2020-02-15 | ||
6 | |||
7 | --- a/lib/CMakeLists.txt | ||
8 | +++ b/lib/CMakeLists.txt | ||
9 | @@ -114,4 +114,4 @@ | ||
10 | install(TARGETS libmosquitto_static ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}") | ||
11 | endif (WITH_STATIC_LIBRARIES) | ||
12 | |||
13 | -install(FILES mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") | ||
14 | +install(FILES mqtt_protocol.h mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") | ||