mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user