[speex] Fix regression for release mode import library

This commit is contained in:
Robert Schumacher 2017-12-09 17:17:10 -08:00
parent 9f0d33b6ad
commit 5a8e2d9a8e
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,9 @@ include_directories(win32 include)
set(CMAKE_DEBUG_POSTFIX d)
file(READ "win32/libspeex.def" _contents)
string(REPLACE "LIBRARY libspeex" "LIBRARY libspeexd" _contents "${_contents}")
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
string(REPLACE "LIBRARY libspeex" "LIBRARY libspeexd" _contents "${_contents}")
endif()
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/libspeex.def"
"${_contents}\n"
"speex_nb_mode\n"

View File

@ -1,3 +1,3 @@
Source: speex
Version: 1.2.0-2
Version: 1.2.0-3
Description: Speex is an Open Source/Free Software patent-free audio compression format designed for speech.