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

Remove sassc_version.h from source directory#283

Open
yizhao1 wants to merge 1 commit intosass:masterfrom
yizhao1:fix
Open

Remove sassc_version.h from source directory#283
yizhao1 wants to merge 1 commit intosass:masterfrom
yizhao1:fix

Conversation

@yizhao1
Copy link

@yizhao1 yizhao1 commented Apr 25, 2025

The sassc_version.h should be generated from sassc_version.h.in. If the build directory is out of the source directory, the sassc_version.h is generated in build directory and the original sassc_version.h in source directory is not overwritten. However, the latter is used during the build, resulting in a missing runtime version:

$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

Remove sassc_version.h from source directory to ensure that the sassc_version.h in build directory is used during the build.

The sassc_version.h should be generated from sassc_version.h.in. If the
build directory is out of the source directory, the sassc_version.h is
generated in build directory and the original sassc_version.h in source
directory is not overwritten. However, the latter is used during the
build, resulting in a missing runtime version:

$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

Remove sassc_version.h from source directory to ensure that the
sassc_version.h in build directory is used during the build.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant