File: build-on-darwin.md

package info (click to toggle)
golang-github-bep-golibsass 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,808 kB
  • sloc: cpp: 30,398; ansic: 848; sh: 662; makefile: 340; perl: 56
file content (27 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
To install LibSass, make sure the OS X build tools are installed:

    xcode-select --install

## Homebrew

To install homebrew, see [http://brew.sh](http://brew.sh)

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

You can install the latest version of LibSass quite easily with brew.

    brew install --HEAD libsass

To update this, do:

    brew reinstall --HEAD libsass

Brew will build static and shared libraries, and a `libsass.pc` file in `/usr/local/lib/pkgconfig`.

To use `libsass.pc`, make sure this path is in your `PKG_CONFIG_PATH`

    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

## Manually

See the linux instructions [Building-with-autotools](build-with-autotools.md) or [Building-with-makefiles](build-with-makefiles.md)