Browse Source

hfsprogs: fix when not linking aginst glibc

Only link with libbsd when we are using GLIBC

Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
lilik-openwrt-22.03
Matthew McClintock 8 years ago
parent
commit
a6357ba2f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/hfsprogs/Makefile

+ 1
- 1
utils/hfsprogs/Makefile 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


Loading…
Cancel
Save