Skip to contentSkip to conversation

package/libiio: fix install of C# bindings

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 11, 2020 – Apr 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libiio: fix install of C# bindings

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

---
 package/libiio/libiio.mk | 1 -
 1 file changed, 1 deletion(-)
package/libiio/libiio.mk +0 -1
index efd582a5ea..af5b27ba5f 100644
@@ -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
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libiio: fix install of C# bindings

Quoted 6 lines · On Wed, 11 Mar 2020 22:25:33 +0100 Fabrice Fontaine…

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.

Quoted 7 lines

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

---
 package/libiio/libiio.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com