Skip to content

Commit

Permalink
Merge pull request #3 from erlanger/pack_rebuild
Browse files Browse the repository at this point in the history
Fix makefile to use installed mosquitto lib, and to use pack_rebuild()
  • Loading branch information
olsky authored Oct 10, 2018
2 parents a9211e6 + 3c85a26 commit ccf61fa
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 ccf61fa

Please sign in to comment.