Comments (1)
I see your problem and would like to solve it. Word of warning: I'm not an expert in static or dynamic libraries.
To answer your question, yes, the solution you propose makes bcrypt.a depend on some things, but builds it based on others. It creaks a little. On the other hand, it just works unless you're doing weird stuff with the tree.
The proper solution would be to make bcrypt.a include the object files that are part of crypt_blowfish/crypt_blowfish.a without depending on them externally existing, but to do that you'd need to extract the files from crypt_blowfish.a to a temporary location, then use them to build bcrypt.a, then delete them. It feels like killing a fly with a cannon.
So I'm doing what you suggested. :D
from libbcrypt.
Related Issues (8)
- bcrypt_gensalt doesn't initialize input array HOT 2
- undefined reference to `crypt_gensalt_rn' HOT 1
- Undefined reference to `crypt_gensalt_rn' on Ubuntu 19.04 HOT 2
- Should I use future or master for production? HOT 2
- EOF from /dev/urandom is considered a successful read
- Requirement of bcrypt library for ARM HOT 2
- getting Assertion failed: ret == 0, when using example from repository of bcrypt.c file 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 libbcrypt.