This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Description
When configuring libsass from a clean directory, libsass_version always reports "[NA]". Even though, make install has the correct version in $(build_path)/include/sass_version.h.
So here's what I did...
cd src; autoreconf -fvi
cd build; ../src/configure --disable-shared --prefix=$(shell pwd) --disable-silent-rules --disable-dependency-tracking
cd build; make install
I guess it is still building the static library from src rather than from the files in build that are laid down by configure. Since configure lays down the files in the current directory rather than source directory, the modified sass_version.h is in build/. However, the archive file appears to have "[NA]" baked into it.
Here's my makefile: https://github.com/wellington/go-libsass/blob/master/Makefile#L20