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

Use --libs instead of -libs

parent d3a1c675
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ ifndef WITHOUT_MOSQUITTO ...@@ -104,7 +104,7 @@ ifndef WITHOUT_MOSQUITTO
endif endif
ifeq ($(shell pkg-config libarchive --exists && echo "yes"),yes) ifeq ($(shell pkg-config libarchive --exists && echo "yes"),yes)
CFLAGS += $(shell pkg-config libarchive --cflags) CFLAGS += $(shell pkg-config libarchive --cflags)
FILE_LIBS = $(shell pkg-config libarchive -libs) FILE_LIBS = $(shell pkg-config libarchive --libs)
else else
FILE_LIBS = -larchive FILE_LIBS = -larchive
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment