Skip to content
Snippets Groups Projects
Commit bf318eab authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use pkg-config for libarchive.

Fixes OpenBSD build issue.
parent 3bdd7740
No related branches found
No related tags found
No related merge requests found
Pipeline #5492 failed
...@@ -48,7 +48,8 @@ UTIL_LDFLAGS := $(LDFLAGS) ...@@ -48,7 +48,8 @@ UTIL_LDFLAGS := $(LDFLAGS)
UTIL_LDFLAGS += $(SMBLIB_LDFLAGS) $(UIFC-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(XPDEV_LDFLAGS) $(ENCODE_LDFLAGS) UTIL_LDFLAGS += $(SMBLIB_LDFLAGS) $(UIFC-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(XPDEV_LDFLAGS) $(ENCODE_LDFLAGS)
CONSOLE_LDFLAGS += $(LDFLAGS) $(SMBLIB_LDFLAGS) $(XPDEV_LDFLAGS) CONSOLE_LDFLAGS += $(LDFLAGS) $(SMBLIB_LDFLAGS) $(XPDEV_LDFLAGS)
UTIL_LIBS += $(HASH_LIBS) UTIL_LIBS += $(HASH_LIBS)
FILE_LIBS = -larchive FILE_LIBS = $(shell pkg-config libarchive -libs)
CFLAGS += $(shell pkg-config libarchive -cflags)
ifndef bcc ifndef bcc
ifneq ($(os),sunos) ifneq ($(os),sunos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment