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:
parent
4dd144c1bd
commit
a6357ba2f5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue