Issue #947 - Add install_name on OSX

This commit is contained in:
Justin Hammond 2016-08-11 12:22:12 +08:00
parent b13c6916af
commit a55feffc47
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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