mmitch / gbsplay

gameboy sound player
https://mmitch.github.io/gbsplay/
Other
98 stars 19 forks source link

Determine SDL2 lib path in addition to include path #100

Closed mrehkopf closed 1 year ago

mrehkopf commented 1 year ago

Fixes plugout_sdl build on MacOS (homebrew)

Homebrew stores headers, libs, etc. under an /opt/homebrew prefix. configure currently determines the correct include path but not the lib path.

Use sdl2-config --libs and check_libs() to determine the lib path as well. Also add /opt/homebrew/... to the fallback include and lib paths.

codecov[bot] commented 1 year ago

Codecov Report

Merging #100 (202a2ef) into master (d4018e0) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 202a2ef differs from pull request most recent head ff2f147. Consider uploading reports for the commit ff2f147 to get more accurate results

Additional details and impacted files