Skip to content

Commit

Permalink
fix: --debug build fails
Browse files Browse the repository at this point in the history
invalid `ldflags`
  • Loading branch information
jm33-m0 committed Jan 20, 2025
1 parent f39306a commit 0eac8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/emp3r0r
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ build() {
if [[ "$1" = "--debug" ]]; then
gobuild_cmd="go"
build_opt="build"
ldflags="-v -ldflags=\"-X 'github.com/jm33-m0/emp3r0r/core/lib/emp3r0r_def.MagicString=$magic_str'\""
ldflags="-v -X 'github.com/jm33-m0/emp3r0r/core/lib/emp3r0r_def.MagicString=$magic_str'"
else
gobuild_cmd="go"
build_opt="build"
Expand Down

0 comments on commit 0eac8a0

Please sign in to comment.