Skip to content

Commit

Permalink
Fix makefile to use installed mosquitto lib, and to use pack_rebuild()
Browse files Browse the repository at this point in the history
  • Loading branch information
e committed Oct 9, 2018
1 parent a9211e6 commit 3c85a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKSODIR=lib/x86_64-linux
MOSQUITTO_LIBS=-Lext ext/libmosquitto.a
MOSQUITTO_LIBS=-lmosquitto
SO=so
SOEXT=so
SOBJ=$(PACKSODIR)/mqtt.$(SOEXT)
Expand All @@ -8,7 +8,7 @@ CWFLAGS=-Wall
CMFLAGS=-fno-strict-aliasing -pthread -fPIC -std=c99
CIFLAGS=-I. -Iext/include
DEFS=
CFLAGS=$(COFLAGS) $(CWFLAGS) $(CMFLAGS) $(CIFLAGS) $(PKGCFLAGS) $(DEFS)
CFLAGS+=$(COFLAGS) $(CWFLAGS) $(CMFLAGS) $(CIFLAGS) $(PKGCFLAGS) $(DEFS)
CXXFLAGS=$(CFLAGS)

LD=gcc
Expand Down

0 comments on commit 3c85a26

Please sign in to comment.