Merge pull request #4275 from mattsm/master

hfsprogs: fix when not linking aginst glibc
This commit is contained in:
Florian Fainelli 2017-04-18 10:53:33 -07:00 committed by GitHub
commit 10ce951dec

View file

@ -60,7 +60,7 @@ define Build/Compile
-f Makefile.lnx \
$(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" \
LDFLAGS+="$(TARGET_LDFLAGS) -lbsd" \
LDFLAGS+="$(TARGET_LDFLAGS) $(if $(CONFIG_USE_GLIBC),-lbsd)" \
all
endef