Comments (3)
Sorry about that - I thought I documented that, but I'm not seeing it.
NB: pkg-config allows rust compiler (and others building tools) to find path information of libssl, without setting those path yourself via env vars (OPENSSL_INCLUDE_DIR and OPENSSL_LIB_DIR)
Unfortunately this doesn't work too well :( because openssl-1.0 is needed, and some distros are on 1.1, the story gets complicated. Some distros require the package openssl-1.0 (or libssl1.0, etc.), which using pkg-config doesn't work against, because it finds the openssl 1.1 .pc file and reports the include/link flags for that package.
The reason why I set those env vars manually is to override the default behavior to use openssl-1.1 and drop it to 1.0. It's a really sad compat story, but until discord-rs updates its dependency to openssl-sys-extras 0.9, it's required.
from weechat-discord.
No problem, you're absolutely right.
Feel free to close the issue whenever you want. And thanks again for you're work!
from weechat-discord.
Leaving this open for now so I remember to add docs 😊
from weechat-discord.
Related Issues (20)
- Cargo build fails on custom build command for `openssl-sys-extras v0.7.14` HOT 1
- Build failed: thread 'main' panicked at 'explicit panic' HOT 3
- Weecord fails to compile HOT 1
- Improve buffer heirarchy HOT 3
- Discord API returns channels the user is not in. weechat-discord should filter these out. HOT 3
- Weechat immediately crashes on /discord connect HOT 7
- [Help Wanted] Using buffer_autoset with weecord HOT 5
- Documentation improvement regarding weechat-dev dependency. HOT 1
- Compilation errors for weechat 1.0.1 HOT 2
- Compilation error: non-capturing closure is experimental HOT 4
- As of 1bb57f0d640431598da043edb8, channels requiring special access are hidden HOT 4
- Only plugins.var.weecord.token shows up as an option HOT 3
- Option to merge server buffers with core HOT 5
- License HOT 3
- Hang (Spinlock) When There is Too Many Servers HOT 5
- Message deletion on user ban HOT 1
- Error connecting after setting up my own server HOT 1
- Make it not dead.
- buffers not appearing when i connect? HOT 2
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 weechat-discord.