mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01: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 \
|
-f Makefile.lnx \
|
||||||
$(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" \
|
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
|
all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user