Skip to content

Commit

Permalink
update package_macos to pass C flags
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jun 5, 2024
1 parent f556870 commit 1f761f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build:
# so the last 3 cmds move it over manually. This is a bit fragile though
# since it assumes a specific location and version of the dependency
package_macos:
fyne package -os darwin -name $(app_name) -appVersion $(app_version) -icon $(icon_path)
CGO_CFLAGS="-I/usr/local/include -I/opt/homebrew/include" CGO_LDFLAGS="-L/usr/local/lib -L/opt/homebrew/lib" fyne package -os darwin -name $(app_name) -appVersion $(app_version) -icon $(icon_path)

bundledeps_macos_homebrew:
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
Expand Down

0 comments on commit 1f761f2

Please sign in to comment.