From e9b5a3fca496bd4c85503d2ea34e927e631d5aaa Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 19 Jan 2010 22:53:53 +0000 Subject: [PATCH] libresolv-41.tar.gz --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 768c5b7..0c41942 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,8 @@ PLUGIN_DEST = $(DSTROOT)/$(DESTDIR)usr/lib/info build:: dns.so +_installhdrs:: _symlink_hdrs + dns.so: dns_plugin.c $(CC) -c $(CFLAGS) dns_plugin.c $(CC) $(PLUGIN_CC_Flags) $(LDFLAGS) $(PLUGIN_LD_Flags) -o $(SYMROOT)/dns.so dns_plugin.o @@ -45,6 +47,10 @@ dns.so: dns_plugin.c $(INSTALL_LIBRARY) $(SYMROOT)/dns.so $(PLUGIN_DEST) $(STRIP) -S $(PLUGIN_DEST)/dns.so +_symlink_hdrs: + $(INSTALL_DIRECTORY) $(DSTROOT)/usr/include/arpa + $(LN) -sf ../nameser.h $(DSTROOT)/usr/include/arpa + after_install: $(INSTALL_DIRECTORY) $(DSTROOT)/usr/include/arpa $(LN) -sf ../nameser.h $(DSTROOT)/usr/include/arpa -- 2.45.2