Coder Social home page Coder Social logo

Static build about sqsh-tools HOT 4 CLOSED

waarmond avatar waarmond commented on September 27, 2024
Static build

from sqsh-tools.

Comments (4)

Gottox avatar Gottox commented on September 27, 2024

You can enable static build with the -Ddefault_library=static option. See the docs: Core options

from sqsh-tools.

waarmond avatar waarmond commented on September 27, 2024

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.

Gottox avatar Gottox commented on September 27, 2024

The upper one should yield a static library under build/libsqsh/libsqsh.a

from sqsh-tools.

Gottox avatar Gottox commented on September 27, 2024
~/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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.