-
Notifications
You must be signed in to change notification settings - Fork 50
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
pkgconfig problem #55
Comments
I'm running in opensuse. and goncurses cannot compiled due to belown issue. I controlled all ncurses installation and other stuff. ncurses C applications can compiled with same ncurses. |
|
This is due to a limitation in CGO not accepting the flags.
See the go docs for details. I'm not sure there's anything can can be done for this package. Possibly the Related issue: #50 |
If you don't want to dive into the depths of CGO compilation and that stuff here's a quick and insecure "workaround" using the fix mentioned above:
It is important to reset the allowed flags again for security reasons. |
with trying these. I will re-comment. |
@Zaryob note that there is an asterisk after the dot in the first two lines. |
Keep in mind that it's a workaround and by no means a production-ready fix. |
This warrants updating the wiki: https://github.com/rthornton128/goncurses/wiki/KnownIssues |
The text was updated successfully, but these errors were encountered: