diff options
| -rw-r--r-- | ports/speex/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/speex/CONTROL | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/speex/CMakeLists.txt b/ports/speex/CMakeLists.txt index 915b08226..c5c651edf 100644 --- a/ports/speex/CMakeLists.txt +++ b/ports/speex/CMakeLists.txt @@ -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" diff --git a/ports/speex/CONTROL b/ports/speex/CONTROL index 00910a596..e66d3445a 100644 --- a/ports/speex/CONTROL +++ b/ports/speex/CONTROL @@ -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. |
