Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ldflags parameter #159

Open
Kroustille opened this issue Feb 12, 2019 · 1 comment
Open

Missing ldflags parameter #159

Kroustille opened this issue Feb 12, 2019 · 1 comment

Comments

@Kroustille
Copy link

At this moment, godog doesn't support ldflags feature like go build or run commands.

If the application needs to use an external library already compiled, that need to be linked to the application, it's not possible.

The usage of the ldflags flag throws this error:
flag provided but not defined: -ldflags

@l3pp4rd
Copy link
Member

l3pp4rd commented Feb 13, 2019

Hi, yes, at the moment, godog binary does not provide build flags, duplicate of #154 this is going to be implemented someday later, for now I suggest to integrate godog within go test command using TestMain as described in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants