Commit 301102e1 authored by Vicente Olivert Riera's avatar Vicente Olivert Riera Committed by Thomas Petazzoni
Browse files

slang: use specific build and install commands for static builds

Doing this we ensure that only the static library and a static version
of slsh are built.

Fixes:
  http://autobuild.buildroot.net/results/f12/f124ca3737baf5aca32029226805133d3544715c/



Signed-off-by: default avatarVicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: default avatarMarkos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 41d6f177
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -48,4 +48,10 @@ ifeq ($(BR2_PACKAGE_READLINE),y)
	SLANG_DEPENDENCIES += readline
endif

ifeq ($(BR2_PREFER_STATIC_LIB),y)
	SLANG_MAKE_OPTS = static
	SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
	SLANG_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
endif

$(eval $(autotools-package))