-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41e2733
commit 6359038
Showing
4 changed files
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
# Copy a fixed version of libmp3lame.sym over the old one becuase there's | ||
# incorrect symbols that cause the library to not compile. | ||
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy | ||
"${CMAKE_CURRENT_LIST_DIR}/fixed-libmp3lame.sym" | ||
"${SOURCE_DIR}/include/libmp3lame.sym") | ||
|
||
# Fix the GCC detection so optimisation is applied | ||
# (see https://sourceforge.net/p/lame/bugs/491/) | ||
file(READ "${SOURCE_DIR}/configure" CONFIGURE) | ||
string(REPLACE "0-9*0-9*)" "[0-9]*[0-9]*)" CONFIGURE "${CONFIGURE}") | ||
file(WRITE "${SOURCE_DIR}/configure" "${CONFIGURE}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters