Comments (4)
You can enable static build with the -Ddefault_library=static
option. See the docs: Core options
from sqsh-tools.
meson setup -Ddefault_library=static --prefix=/usr build
or
meson setup -Dsqsh-tools:default_library=static --prefix=/usr build
?
I've delete my src folder, recompiled but it's getting out exactly the same lib files (by filesize) and Filer still complains about LIBSQSH_STATIC_PATH. Where is my error?
from sqsh-tools.
The upper one should yield a static library under build/libsqsh/libsqsh.a
from sqsh-tools.
~/src/sqsh-tools (main ✗) meson setup -Ddefault_library=static --prefix=/usr build
The Meson build system
Version: 1.3.2
Source dir: /home/tox/src/sqsh-tools
Build dir: /home/tox/src/sqsh-tools/build
Build type: native build
Project name: sqsh-tools
Project version: 1.3.0
C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency libcurl found: YES 8.6.0
Run-time dependency fuse3 found: YES 3.16.2
Dependency fuse skipped: feature fuse-old disabled
Run-time dependency liblz4 found: YES 1.9.4
Run-time dependency liblzma found: YES 5.6.0
Run-time dependency zlib found: YES 1.3.1
Run-time dependency libzstd found: YES 1.5.5
Executing subproject cextras
cextras| Project name: cextras
cextras| Project version: 0.1
cextras| C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (GCC) 13.2.0")
cextras| C linker for the host machine: cc ld.bfd 2.41
cextras| Dependency threads found: YES unknown (cached)
cextras| Build targets in project: 8
cextras| Subproject cextras finished.
Configuring sqsh-cat.1 using configuration
Configuring sqsh-ls.1 using configuration
Configuring sqsh-stat.1 using configuration
Configuring sqsh-unpack.1 using configuration
Configuring sqsh-xattr.1 using configuration
Configuring sqshfs.1 using configuration
Build targets in project: 19
sqsh-tools 1.3.0
Subprojects
cextras : YES
User defined options
default_library: static
prefix : /usr
Found ninja-1.11.1 at /usr/bin/ninja
~/src/sqsh-tools (main ✗) ninja -C build
ninja: Entering directory `build'
[113/113] Linking target tools/sqshfs
~/src/sqsh-tools (main ✗) ls build/libsqsh/libsqsh.a
build/libsqsh/libsqsh.a
~/src/sqsh-tools (main ✗)
from sqsh-tools.
Related Issues (20)
- sqsh_inode_map_get returns 0 on error, rather than a negative number HOT 1
- Error SQSH_ERROR_NOT_A_FILE is unused HOT 1
- No good way to tell when TreeWalker is at the end of the directory HOT 4
- sqsh_inode_map_get - zero is a valid return, and the indicator for errors HOT 4
- Make `sqsh_tree_walker_up` position the walker at the entry of the previous directory HOT 2
- Write support for squashfs archives
- Rename TreeWalker to PathResolver
- Need more docs on sqsh_file_iterator_skip HOT 8
- Direct leak somewhere in metablock/extract handling HOT 2
- Fix code scanning alert - Accessing files should not introduce TOCTOU vulnerabilities HOT 1
- Remove deprecated code for 2.0
- sqsh_tree_walker_next2 was removed HOT 3
- Reduce code duplication within tests
- Improve test coverage HOT 1
- support dynamic allocated zero block
- SqshFileReader reports out of bounds if you request a 0 sized range at the end of the file
- Replace hashmap by radixtree/linkedlist
- libsqsh uses size_t for file sizes/offsets HOT 1
- sqsh_file_iterator_mt is not exposed in a header
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 sqsh-tools.