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

libsass version is missing when building to a new directory #1223

@drewwells

Description

@drewwells

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions