unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Fix `go build` flags error (#32) #37

Closed hacker-volodya closed 3 years ago

hacker-volodya commented 4 years ago

I splitted args so that flags and their values are in different arguments, so go build can parse it. Fixes #32.

madonius commented 4 years ago

Fix works for me

unixpickle commented 4 years ago

Somehow I totally forgot about this PR. I thought I commented on it, but apparently that comment has been pending since April! Sorry about this.

pdulapalli commented 3 years ago

Hey guys, what's the status of this pull request? It seems quite useful, so I'm curious, are there are any tradeoffs etc. to integrating this?

unixpickle commented 3 years ago

Currently I think this change breaks the noStaticLink option, due to the comment I made. Would be an easy fix, but haven't gotten a reply from the author.

unixpickle commented 3 years ago

Looks like I was mistaken about extldflags--it's actually part of ldflags. Going to merge!