Comments (3)
distros/packages are supposed to symlink libfoo.so
to libfoo.so.X
etc
from zig.
Does pkg-config (or the zig usage in the build system) not work for you use case? Why?
from zig.
No.. it's not the pkg-config because it give the correct flags
iscarioth$ pkg-config --cflags --libs glib-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -L/usr/local/lib -lglib-2.0 -lintl -lpcre2-8
it's more the zig usage in the build system which is not specific to OpenBSD, i just remember LLD was patched for matching versioned shared library ( https://github.com/openbsd/ports/blob/master/devel/llvm/17/patches/patch-lld_ELF_DriverUtils_cpp )
at src/link/Elf.zig, he only check up the (somewhere in lib dir)`/libglib-2.0.so ( only) ( src/main.zig on accesLibPath)
from zig.
Related Issues (20)
- add cross-platform API to std.process.Child for spawning a detached process HOT 1
- zig cc -target x86_64-macos-none stopped working
- Proposal: nuke the `std.math.complex` namespace and make math functions generic over `Complex`
- globally cached data from multiple zig compilers installed in different paths can cause generate artifacts to include unrelated zig lib directories HOT 1
- Liveness bug HOT 2
- Confusing error: access of union field 'a' while field 'a' is active HOT 13
- ArrayList segfault when appending large value HOT 1
- Array of zero-sized type causes LLVM crash HOT 2
- Cannot build for iOS on macOS Sonoma. HOT 3
- Compiler segfault HOT 4
- allow multi/diffrent .zig file extensions HOT 2
- Linker: Incorrect Thread Local Variable symbol resolution HOT 1
- missing 'defined here' notes on equality compile error HOT 3
- There are too many ring buffer implementations in the standard library HOT 1
- `usingnamespace opaque{};` now errors ("type [...] has no namespace")
- std.fs: deleteTree in dir with open file hangs in loop HOT 2
- NetBSD build failure - more bitrot to sort out?
- std.math.big.int.Managed.bitAnd(-0xffffffffffffffff, 0x10000000000000000) == 0
- `zig run`: Empty string arguments aren't forwarded on Windows HOT 1
- Helgrind annotations not being properly generated
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 zig.