Comments (2)
Note to self: CGo does not work with build tags the usual way, one file per build tag choice (in that case the build tags are ignored and all LDFLAGS directives are concatenated, even from build-tag-deactivated .go
files).
The way to do it is
// #cgo !proglottis_gpgme_pthread_library LDFLAGS: -lgpgme -lassuan -lgpg-error
// #cgo proglottis_gpgme_pthread_library LDFLAGS: -lgpgme-pthread -lassuan -lgpg-error
from gpgme.
FWIW this is no longer a concern for us, RHEL 8 ships with GPGME 1.13 now.
from gpgme.
Related Issues (12)
- Issues with building on Windows HOT 13
- Finding Keys on Windows HOT 3
- Does not build on Travis-CI [Linux] HOT 6
- tag official releases HOT 2
- Decrypt test fails with "No Data". HOT 4
- compilation terminated HOT 1
- macOS `fatal error: 'gpgme.h' file not found` HOT 2
- lb: library not found for -lassuan HOT 15
- Compilation on RHEL/CentOS 7 fails on pkg-config HOT 4
- could not import C (cgo preprocessing failed)) HOT 2
- Does not build against older gpgme versions HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpgme.