uw-imap: install c-client/linkage.c to staging
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 28 Oct 2020 21:23:46 +0000 (22:23 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 31 Oct 2020 11:57:14 +0000 (12:57 +0100)
linkage.c can be included by other programs as described in
docs/internal.txt (quote: "By using linkage.c instead of explicit
mail_link() calls, you are guaranteed that you will have a consistant
linkage among all software built on this system").

This commit adds linkage.c to staging.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/uw-imap/Makefile

index ab82022508bea8ea735670e4204fbbda00ab23dd..75a6c28751c417b614be2a9b4b3271e8c22f3b9c 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uw-imap
 PKG_VERSION:=2007f
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=imap-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= \
@@ -57,7 +57,7 @@ define Build/InstallDev
                        $(1)/usr/include/c-client
        $(CP) $(PKG_BUILD_DIR)/c-client/libc-client.so.$(PKG_VERSION) $(1)/usr/lib/
        $(LN) libc-client.so.$(PKG_VERSION) $(1)/usr/lib/libc-client.so
-       $(CP) $(PKG_BUILD_DIR)/c-client/linkage.h $(1)/usr/include/c-client/
+       $(CP) $(PKG_BUILD_DIR)/c-client/linkage.{c,h} $(1)/usr/include/c-client/
        $(CP) $(PKG_BUILD_DIR)/src/c-client/*.h $(1)/usr/include/c-client/
        $(CP) $(PKG_BUILD_DIR)/src/osdep/unix/*.h $(1)/usr/include/c-client/
        $(LN) os_slx.h $(1)/usr/include/c-client/osdep.h