package/libiio: fix install of C# bindings
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 11 Mar 2020 21:25:33 +0000 (22:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 25 Apr 2020 14:23:15 +0000 (16:23 +0200)
libiio-sharp.dll.mdb is not installed since version 0.19.0 and
https://github.com/analogdevicesinc/libiio/commit/8b571969fa245fb25c6431340f23ff157e34841b

Indeed, EXISTS "${LIBIIO_CS_DLL}.mdb" will always return false because
the file will not exist when cmake will create the makefiles.

Fixes:
 - http://autobuild.buildroot.org/results/42ffbd07d0e998c75d1afde6a5db7d6418c10f45

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libiio/libiio.mk

index efd582a5eaec79dcc5c9a059eca94fbf5e533f52..af5b27ba5f368f10c6b59d7aebc48bbc4e99532d 100644 (file)
@@ -72,7 +72,6 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y)
 define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET
-       rm $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll.mdb
        $(HOST_DIR)/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \
                $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll
 endef