]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libsass: fix runtime version
authorYi Zhao <yi.zhao@windriver.com>
Fri, 25 Apr 2025 07:37:56 +0000 (15:37 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 May 2025 09:27:41 +0000 (10:27 +0100)
commit88fc48d65dfc61b6a89018c3348b369aa450a8c0
tree23da09233c7d9edf0df4f698814198753beb405e
parent994e508b2a0ede8b5cc4fe39444cf25dc9a53faf
libsass: fix runtime version

The version.h should be generated from version.h.in. But there is
already a version.h file in source directory. When ${S} != ${B}, the
version.h is generated in build directory, and the original version.h in
source directory is not overwritten. However, the latter is used during
the build, resulting in a missing runtime version. Remove version.h from
source directory to ensure that the one in build directory is used
during the build.

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

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/sass/libsass/0001-Remove-version.h-from-source-directory.patch [new file with mode: 0644]
meta/recipes-support/sass/libsass_git.bb