diff --git a/src/onvif_srvd/Makefile.onvif_srvd b/src/onvif_srvd/Makefile.onvif_srvd index e44feb6..f40b2cb 100644 --- a/src/onvif_srvd/Makefile.onvif_srvd +++ b/src/onvif_srvd/Makefile.onvif_srvd @@ -52,7 +52,7 @@ CXX ?= g++ # make WSSE_ON=1 all ifdef WSSE_ON CXXFLAGS += -DWITH_OPENSSL -I$(OPENSSL_DIR)/include -LDFLAGS += -Wl,--gc-sections openssl/libssl.a openssl/libcrypto.a -ldl +LDFLAGS += -Wl,--gc-sections openssl/libssl.a openssl/libcrypto.a -ldl -lpthread WSSE_SOURCES = $(GSOAP_PLUGIN_DIR)/wsseapi.c \ $(GSOAP_PLUGIN_DIR)/mecevp.c \ @@ -61,6 +61,7 @@ WSSE_SOURCES = $(GSOAP_PLUGIN_DIR)/wsseapi.c \ WSSE_IMPORT = echo '\#import "wsse.h" ' >> $@ else +LDFLAGS += -Wl,--gc-sections -ldl -lpthread GSOAP_CONFIGURE += --disable-ssl endif diff --git a/src/onvif_srvd/onvif_srvd b/src/onvif_srvd/onvif_srvd index 5225516..9017e3f 160000 --- a/src/onvif_srvd/onvif_srvd +++ b/src/onvif_srvd/onvif_srvd @@ -1 +1 @@ -Subproject commit 5225516b72b0b0f0f7acaee3cff33e623b1b9e66 +Subproject commit 9017e3f588ee771a92c379a25eed9e0158e48c42