Sha256: 58e49ca7b79a8db98eaa34454ddb3a4988cf80898ea4af35001ae6e3c83e8012

Contents?: true

Size: 1.38 KB

Versions: 62

Compression:

Stored size: 1.38 KB

Contents

This page is mostly intended for people that want to build a system library that gets distributed via RPMs or other means. This is currently in a experimental phase, as we currently do not really guarantee any ABI forward compatibility. The C API was rewritten to make this possible in the future, but we want to wait some more time till we can call this final and stable.

Building via autotools
--

You want to build a system library only via autotools, since it will create the proper `libtool` files to make it loadable on multiple systems. We hope this works correctly, but nobody of the `libsass` core team has much knowledge in this area. Therefore we are open for comments or improvements by people that have more experience in that matter (like package maintainers from various linux distributions).

```bash
apt-get install autoconf libtool
git clone https://github.com/sass/libsass.git
cd libsass
autoreconf --force --install
./configure \
  --disable-tests \
  --disable-static \
  --enable-shared \
  --prefix=/usr
make -j5 install
cd ..
```

This should install these files
```bash
# $ ls -la /usr/lib/libsass.*
/usr/lib/libsass.la
/usr/lib/libsass.so -> libsass.so.0.0.9
/usr/lib/libsass.so.0 -> libsass.so.0.0.9
/usr/lib/libsass.so.0.0.9
# $ ls -la /usr/include/sass*
/usr/include/sass.h
/usr/include/sass2scss.h
/usr/include/sass/context.h
/usr/include/sass/functions.h
/usr/include/sass/values.h
```

Version data entries

62 entries across 60 versions & 17 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/node-sass/src/libsass/docs/build-shared-library.md
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/node-sass/src/libsass/docs/build-shared-library.md
disco_app-0.18.0 test/dummy/node_modules/node-sass/src/libsass/docs/build-shared-library.md
disco_app-0.18.2 test/dummy/node_modules/node-sass/src/libsass/docs/build-shared-library.md
tang-0.2.1 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-shared-library.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/node-sass/src/libsass/docs/build-shared-library.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/node-sass/src/libsass/docs/build-shared-library.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/node-sass/src/libsass/docs/build-shared-library.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/node-sass/src/libsass/docs/build-shared-library.md
tang-0.2.0 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-shared-library.md
tang-0.1.0 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-shared-library.md
tang-0.0.9 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-shared-library.md
enju_library-0.3.8 spec/dummy/node_modules/node-sass/src/libsass/docs/build-shared-library.md
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/ext/libsass/docs/build-shared-library.md
ilog-0.4.1 node_modules/node-sass/src/libsass/docs/build-shared-library.md
ilog-0.4.0 node_modules/node-sass/src/libsass/docs/build-shared-library.md
ilog-0.3.3 node_modules/node-sass/src/libsass/docs/build-shared-library.md
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-shared-library.md
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-shared-library.md
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-shared-library.md