hfsprogs: remove unused libbsd
hfsprogs uses libbsd for strlcpy(), but the strlcpy() calls are inside `#ifdef` and don't show up on the OpenWRT package. Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
This commit is contained in:
parent
05df1fe4f1
commit
d9343b1549
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ define Package/hfsprogs/Default
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
SUBMENU:=Filesystem
|
SUBMENU:=Filesystem
|
||||||
DEPENDS:=+libopenssl +USE_GLIBC:libbsd
|
DEPENDS:=+libopenssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/hfsfsck
|
define Package/hfsfsck
|
||||||
|
@ -60,7 +60,7 @@ define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS+="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\\\"$(PKG_VERSION)\\\"" \
|
CFLAGS+="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\\\"$(PKG_VERSION)\\\"" \
|
||||||
LDFLAGS+="$(TARGET_LDFLAGS) $(if $(CONFIG_USE_GLIBC),-lbsd)" \
|
LDFLAGS+="$(TARGET_LDFLAGS)" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue