Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop

This commit is contained in:
Roger A. Light
2025-02-25 17:02:16 +00:00
11 changed files with 109 additions and 9 deletions
+4 -2
View File
@@ -1,8 +1,8 @@
R=../..
include ${R}/config.mk
ifneq ($(UNAME),SunOS)
LOCAL_LDFLAGS+=-Wl,-soname,libmosquittopp.so.${SOVERSION}
ifeq ($(or $(findstring $(UNAME),SunOS), $(findstring $(UNAME),AIX)),)
LOCAL_LDFLAGS+=-Wl,-soname,libmosquittopp.so.${SOVERSION}
endif
LOCAL_CPPFLAGS+=
LOCAL_CXXFLAGS+=-fPIC
@@ -24,7 +24,9 @@ install : all
ln -sf libmosquittopp.so.${SOVERSION} "${DESTDIR}${libdir}/libmosquittopp.so"
ifeq ($(WITH_STATIC_LIBRARIES),yes)
$(INSTALL) libmosquittopp.a "${DESTDIR}${libdir}/libmosquittopp.a"
ifneq ($(UNAME),AIX)
${CROSS_COMPILE}${STRIP} -g --strip-unneeded "${DESTDIR}${libdir}/libmosquittopp.a"
endif
endif
$(INSTALL) -d "${DESTDIR}${libdir}/pkgconfig/"
$(INSTALL) -m644 ${R}/libmosquittopp.pc.in "${DESTDIR}${libdir}/pkgconfig/libmosquittopp.pc"