openvfs-rb 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/openvfs/extconf.rb +2 -0
- data/ext/openvfs/occ/extconf.rb +2 -0
- data/lib/openvfs/rb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f816f0b15497159b88737dbfe88bbd74fc6ec09b615e2d41d72f9b8a0e3df6c
|
|
4
|
+
data.tar.gz: 617aa0643b0a249e21f5719203b16c09ee403703af14c330a229dd6bb63b8090
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8ed5e6ba4e4aed93640419756aed67791a045d344dd1c4796966472e4c6c3744a3a2ad442debb900502afeb83418403ebb16e1d8b9d6181b553d94004c713e9
|
|
7
|
+
data.tar.gz: f40cdc33d7be8bac84b737d44c39e5bf6d92cbb3e10cf376222050d4af5e54af21ed18cd7a424348907250b71922a5df90188e159c42e87745d0e4c87a93c0b6
|
data/ext/openvfs/extconf.rb
CHANGED
|
@@ -11,6 +11,8 @@ openvfs_library_dir = File.join(prefix, "lib")
|
|
|
11
11
|
|
|
12
12
|
dir_config("openvfs", openvfs_include_dir, openvfs_library_dir)
|
|
13
13
|
$CXXFLAGS << " -std=c++23 -Wno-array-bounds -ftemplate-backtrace-limit=0"
|
|
14
|
+
# __FILE__ expands to the source path at the point a macro like Q_ASSERT or Q_D is reached, and in a nix build that path is under /nix/store, so the shipped object would otherwise name nix store paths through every assertion message. -ffile-prefix-map rewrites it.
|
|
15
|
+
$CXXFLAGS << " -ffile-prefix-map=/nix/store=/__nix"
|
|
14
16
|
$LDFLAGS << " -Wl,-rpath,#{openvfs_library_dir}"
|
|
15
17
|
|
|
16
18
|
unless have_header("openvfs/openvfs.h")
|
data/ext/openvfs/occ/extconf.rb
CHANGED
|
@@ -12,6 +12,8 @@ unless pkg_config("opencloud-upload")
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
$CXXFLAGS << " -std=c++23 -fPIC -Wno-array-bounds"
|
|
15
|
+
# __FILE__ expands to the source path at the point a macro like Q_ASSERT or Q_D is reached, and in a nix build that path is under /nix/store, so the shipped object would otherwise name nix store paths through every assertion message. -ffile-prefix-map rewrites it.
|
|
16
|
+
$CXXFLAGS << " -ffile-prefix-map=/nix/store=/__nix"
|
|
15
17
|
|
|
16
18
|
# The static library is built with -ffunction-sections, so the link can drop every function the extension never calls. ld64 spells that -dead_strip and has no equivalent of --exclude-libs.
|
|
17
19
|
if RbConfig::CONFIG["host_os"].match?(/darwin/)
|
data/lib/openvfs/rb/version.rb
CHANGED