mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-21 15:23:46 +08:00
Separate the C and C++ static libraries.
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
||||
include ../../config.mk
|
||||
include ../objects.mk
|
||||
|
||||
ifneq ($(UNAME),SunOS)
|
||||
LIB_LDFLAGS:=$(LDFLAGS) -Wl,-soname,libmosquittopp.so.${SOVERSION}
|
||||
@@ -38,7 +37,7 @@ clean :
|
||||
libmosquittopp.so.${SOVERSION} : mosquittopp.o
|
||||
${CROSS_COMPILE}$(CXX) -shared $(LIB_LDFLAGS) $< -o $@ ../libmosquitto.so.${SOVERSION}
|
||||
|
||||
libmosquittopp.a : mosquittopp.o ${MOSQ_C_OBJS}
|
||||
libmosquittopp.a : mosquittopp.o
|
||||
${CROSS_COMPILE}$(AR) cr $@ $^
|
||||
|
||||
mosquittopp.o : mosquittopp.cpp mosquittopp.h
|
||||
|
||||
Reference in New Issue
Block a user