-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.os-linuxLinuxLinux
Milestone
Description
Zig Version
0.11.0
Steps to Reproduce and Observed Behavior
Depend on something like GTK: step.linkSystemLibrary("gtk4"). On Xubuntu, gtk4 from apt is installed in /usr/lib/aarch64-linux-gnu. I've noticed this on other distros as well such as the flatpak build environment.
Expected Behavior
Given this is a common path for default packages across distros, I think NativePaths should add it here:
zig/lib/std/zig/system/NativePaths.zig
Line 129 in d0fd67c
| try self.addLibDirFmt("/lib/{s}", .{triple}); |
We already add /lib/{linux triple}.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.os-linuxLinuxLinux