mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 09:14:02 +08:00
Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop
This commit is contained in:
+4
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user