Skip to content

Commit

Permalink
Don't call ldconfig in CMake scripts.
Browse files Browse the repository at this point in the history
Closes #1048. Thanks to Greg Troxel.
  • Loading branch information
ralight committed Apr 26, 2019
1 parent b649c97 commit efa649f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Build:
- Document bundled dependencies and how to disable. Closes #1231.
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD.
- test/unit now respects CPPFLAGS and LDFLAGS. Closes #1232.
- Don't call ldconfig in CMake scripts. Closes #1048.


1.6 - 20190417
Expand Down
5 changes: 0 additions & 5 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,3 @@ if (WITH_STATIC_LIBRARIES)
endif (WITH_STATIC_LIBRARIES)

install(FILES mosquitto.h DESTINATION "${INCLUDEDIR}")

if (UNIX AND NOT APPLE)
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
endif (UNIX AND NOT APPLE)

5 changes: 0 additions & 5 deletions lib/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ if (WITH_STATIC_LIBRARIES)
endif (WITH_STATIC_LIBRARIES)

install(FILES mosquittopp.h DESTINATION "${INCLUDEDIR}")

if (UNIX AND NOT APPLE)
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
endif (UNIX AND NOT APPLE)

4 changes: 0 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,3 @@ if (WITH_TLS)
target_link_libraries(mosquitto_passwd ${OPENSSL_LIBRARIES})
install(TARGETS mosquitto_passwd RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
endif (WITH_TLS)

if (UNIX AND NOT APPLE)
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
endif (UNIX AND NOT APPLE)

0 comments on commit efa649f

Please sign in to comment.