summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ecf6d33..9646c30 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,9 @@ mtsazure: src/mtsazure.c
.PHONY:
install: mtsazure
mkdir -p $(DESTDIR)/usr/bin
+ mkdir -p $(DESTDIR)/usr/lib
cp mtsazure $(DESTDIR)/usr/bin
- cp ./azure-iot-sdk-c/cmake/iotsdk_linux/iothub_client/libiothub_client.so $(DESTDIR)/usr/lib
+ cp -a ./azure-iot-sdk-c/cmake/iotsdk_linux/iothub_client/libiothub_client.so* $(DESTDIR)/usr/lib
.PHONY:
clean: