Skip to content

Commit

Permalink
Create /usr/local/include if it doesn't exist eclipse-paho#275
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Craggs committed Feb 16, 2018
1 parent 81fba83 commit 74bff66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ LDFLAGS_AS += -Wl,-install_name,lib${MQTTLIB_AS}.so.${MAJOR_VERSION} -L /usr/loc
FLAGS_EXE += -DOSX
FLAGS_EXES += -L /usr/local/opt/openssl/lib

LDCONFIG = echo

endif

all: build
Expand Down Expand Up @@ -237,6 +239,7 @@ strip_options:
install-strip: build strip_options install

install: build
mkdir -p $(DESTDIR)$(PREFIX)${includedir}
$(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_C_TARGET} $(DESTDIR)${libdir}
$(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_CS_TARGET} $(DESTDIR)${libdir}
$(INSTALL_DATA) ${INSTALL_OPTS} ${MQTTLIB_A_TARGET} $(DESTDIR)${libdir}
Expand Down

0 comments on commit 74bff66

Please sign in to comment.