diff --git a/ChangeLog b/ChangeLog index 23ab6ca3..f0502a28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -86,6 +86,7 @@ Version 1.5 - Pull Request #941 - Add device Assa Abloy Yale Keyfree Connected Smart Lock from nickperry (Nechry) - Issue #954 - Add Popp Radiator Thermostat to config from daniarv (Nechry) - Add Aeotec ZW121 LED Strip (Nechry) + - Issue #947 - Add install_name to the library on OSX from irundaia (Justin) Version 1.4 - Released 10th Jan, 2016 diff --git a/cpp/build/Makefile b/cpp/build/Makefile index ea34e88f..609dfabd 100644 --- a/cpp/build/Makefile +++ b/cpp/build/Makefile @@ -36,7 +36,7 @@ endif ifeq ($(UNAME),Darwin) CFLAGS += -c -DDARWIN TARCH += -arch i386 -arch x86_64 -LDFLAGS += -dynamiclib +LDFLAGS += -dynamiclib -install_name "$(DESTDIR)/$(instlibdir)/$(SHARED_LIB_NAME)" LIBS += -framework IOKit -framework CoreFoundation -arch i386 -arch x86_64 else ifeq ($(UNAME),FreeBSD) LDFLAGS+= -shared -lusb