Fwd: openSUSE: golang packaging

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: openSUSE: golang packaging

Matwey V. Kornilov

I am really stuck with %gobuild usage.



I need to pass the following to the linker

-ldflags="-X main.version=1.2.3"

and I am trying to use

%gobuild -ldflags="-X main.version=1.2.3" cmd/...

as it supposed to work, but it doesn't.

With best regards,
Matwey V. Kornilov
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]