Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit 04148de

Browse files
committed
allow additional LD flags
1 parent a3575f1 commit 04148de

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ ifneq ($(OS),Windows_NT)
107107
CFLAGS += -fPIC -Wall -Werror
108108
endif
109109
CFLAGS += $(BACKENDS) $(BE_CFLAGS) -I$(MOSQ)/src -DDEBUG=1 $(OSSLINC)
110-
LDFLAGS = $(BE_LDFLAGS) -L$(MOSQUITTO_SRC)/lib/
110+
LDFLAGS += $(BE_LDFLAGS) -L$(MOSQUITTO_SRC)/lib/
111111
# LDFLAGS += -Wl,-rpath,$(../../../../pubgit/MQTT/mosquitto/lib) -lc
112112
# LDFLAGS += -export-dynamic
113113
LDADD = $(BE_LDADD) $(OSSLIBS) -lmosquitto

config.mk.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ MOSQUITTO_SRC =
1515
# Specify the path the OpenSSL here
1616
OPENSSLDIR = /usr
1717

18+
# Specify optional/additional linker flags here
19+
LDFLAGS =

0 commit comments

Comments
 (0)