Skip to content

Commit

Permalink
[skip appveyor] travis: fix CI error
Browse files Browse the repository at this point in the history
there is a better way to do this -- parse the output of otool and use that to fixup bad paths, but since install_name_tool doesn't consider it an error if the path doesn't exist, this works for now

that more complex solution is worth implementing, but i don't have time to do it at the moment and want to keep CI running
  • Loading branch information
mossheim committed Jul 6, 2020
1 parent 2c2da33 commit bc8167d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions editors/sc-ide/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,11 @@ if(APPLE OR WIN32)
# but libfftw3f is not fixed up automatically when supernova is deployed.
string(APPEND VERIFY_CMD "
message(STATUS \"Fixing up bad path in libfftw3f.3.dylib manually due to faulty logic in macdeployqt\")
execute_process(COMMAND install_name_tool -change /usr/local/lib/gcc/9/libgcc_s.1.dylib
@loader_path/libgcc_s.1.dylib ${CONTENTS_DIR}/Frameworks/libfftw3f.3.dylib)")
execute_process(COMMAND install_name_tool -change /usr/local/lib/gcc/0/libgcc_s.1.dylib
@loader_path/libgcc_s.1.dylib ${CONTENTS_DIR}/Frameworks/libfftw3f.3.dylib)
execute_process(COMMAND install_name_tool -change /usr/local/lib/gcc/10/libgcc_s.1.dylib
@loader_path/libgcc_s.1.dylib ${CONTENTS_DIR}/Frameworks/libfftw3f.3.dylib)
")
endif()
endif()
string(APPEND VERIFY_CMD "
Expand Down

0 comments on commit bc8167d

Please sign in to comment.