mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #13132 from jjm2473/lvm2-fix-mac-sh-for-1907
lvm2: fix CE in mac (backport)
This commit is contained in:
@@ -59,10 +59,15 @@ CONFIGURE_ARGS += \
|
|||||||
--with-default-run-dir=/var/run/lvm \
|
--with-default-run-dir=/var/run/lvm \
|
||||||
--with-default-locking-dir=/var/lock/lvm
|
--with-default-locking-dir=/var/lock/lvm
|
||||||
|
|
||||||
|
ifneq ($(shell /bin/sh -c "echo -n 'X'"),X)
|
||||||
|
MAKE_SHELL = SHELL=/bin/bash
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
$(MAKE_SHELL) \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user