mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
package/libsquish: re-enable for BR2_STATIC_LIBS configuration
Since the bump to version 1.15, libsquish can conditionally build/install its shared library, which makes it possible to re-enable this package for BR2_STATIC_LIBS configurations. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b621273755
commit
ae4b9e4afb
@ -1,7 +1,6 @@
|
|||||||
config BR2_PACKAGE_LIBSQUISH
|
config BR2_PACKAGE_LIBSQUISH
|
||||||
bool "libsquish"
|
bool "libsquish"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on !BR2_STATIC_LIBS
|
|
||||||
help
|
help
|
||||||
The libSquish library compresses images with the DXT standard
|
The libSquish library compresses images with the DXT standard
|
||||||
(also known as S3TC). This standard is mainly used by OpenGL
|
(also known as S3TC). This standard is mainly used by OpenGL
|
||||||
@ -9,5 +8,5 @@ config BR2_PACKAGE_LIBSQUISH
|
|||||||
|
|
||||||
http://sourceforge.net/projects/libsquish
|
http://sourceforge.net/projects/libsquish
|
||||||
|
|
||||||
comment "libsquish needs a toolchain w/ C++, dynamic library"
|
comment "libsquish needs a toolchain w/ C++"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
depends on !BR2_INSTALL_LIBSTDCPP
|
||||||
|
@ -12,7 +12,11 @@ LIBSQUISH_STRIP_COMPONENTS = 0
|
|||||||
LIBSQUISH_LICENSE = MIT
|
LIBSQUISH_LICENSE = MIT
|
||||||
LIBSQUISH_LICENSE_FILES = LICENSE.txt
|
LIBSQUISH_LICENSE_FILES = LICENSE.txt
|
||||||
|
|
||||||
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
|
LIBSQUISH_MAKE_ENV = USE_SHARED=0
|
||||||
|
else
|
||||||
LIBSQUISH_MAKE_ENV = USE_SHARED=1
|
LIBSQUISH_MAKE_ENV = USE_SHARED=1
|
||||||
|
endif
|
||||||
|
|
||||||
define LIBSQUISH_BUILD_CMDS
|
define LIBSQUISH_BUILD_CMDS
|
||||||
$(TARGET_CONFIGURE_OPTS) $(LIBSQUISH_MAKE_ENV) $(MAKE) -C $(@D)
|
$(TARGET_CONFIGURE_OPTS) $(LIBSQUISH_MAKE_ENV) $(MAKE) -C $(@D)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user