File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -411,17 +411,20 @@ if(DPP_FORMATTERS)
411411endif ()
412412
413413if (NOT BUILD_SHARED_LIBS )
414- add_library (dppstatic STATIC
414+ if (HAVE_VOICE)
415+ add_library (dppstatic STATIC
415416 $<TARGET_OBJECTS:dpp>
416417 $<TARGET_OBJECTS:hpke>
417418 $<TARGET_OBJECTS:tls_syntax>
418419 $<TARGET_OBJECTS:mls_vectors>
419420 $<TARGET_OBJECTS:mlspp>
420421 $<TARGET_OBJECTS:bytes>
421- )
422- if (HAVE_VOICE)
422+ )
423423 target_link_libraries (dppstatic ${ZLIB_LIBRARIES} ${OPENSSL_LIBRARIES} ${OPUS_LIBRARIES} -static -libgcc -static -libstdc++)
424424 else ()
425+ add_library (dppstatic STATIC
426+ $<TARGET_OBJECTS:dpp>
427+ )
425428 target_link_libraries (dppstatic ${ZLIB_LIBRARIES} ${OPENSSL_LIBRARIES} )
426429 endif ()
427430endif ()
You can’t perform that action at this time.
0 commit comments