Browse Source

Merge pull request #13087 from jjm2473/lvm2-fix-mac-sh

lvm2: fix CE in mac
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
a1776371cb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      utils/lvm2/Makefile

+ 5
- 0
utils/lvm2/Makefile View File

@ -61,10 +61,15 @@ CONFIGURE_ARGS += \
--with-default-run-dir=/var/run/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
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
$(MAKE_SHELL) \
install
endef


Loading…
Cancel
Save