ibrcommon: Fix install target
authorJohannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
Fri, 22 Aug 2014 11:57:08 +0000 (13:57 +0200)
committerJohannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
Fri, 22 Aug 2014 12:07:55 +0000 (14:07 +0200)
The previous copying command includes non-existing variables. This commit replaces
the command with a more generic one.

Signed-off-by: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
libs/ibrcommon/Makefile

index fb95b950c048d728991a62afe2cd0931d6f58e65..37e6c176334a74b7d3220c3aba2ac3757e46b385 100644 (file)
@@ -44,7 +44,7 @@ endef
 
 define Package/ibrcommon/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME){.so,-$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR).so.*} $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,ibrcommon))