shared libraries should not use INSTALL_PROGRAM; from dhill

This commit is contained in:
sthen 2012-05-18 18:26:23 +00:00
parent b24ebb847b
commit 2a314ebad8
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2010/04/08 15:07:51 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.6 2012/05/18 18:26:23 sthen Exp $
COMMENT= read, modify, create ELF files on any arch
DISTNAME= libelf-0.8.13
REVISION= 0
SHARED_LIBS= elf 1.1

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-aclocal_m4,v 1.2 2009/10/13 00:00:37 ajacoutot Exp $
$OpenBSD: patch-aclocal_m4,v 1.3 2012/05/18 18:26:23 sthen Exp $
--- aclocal.m4.orig Fri May 23 10:17:56 2008
+++ aclocal.m4 Mon Oct 12 12:20:22 2009
@@ -288,6 +288,14 @@ AC_DEFUN(mr_ENABLE_SHARED, [
@ -11,7 +11,7 @@ $OpenBSD: patch-aclocal_m4,v 1.2 2009/10/13 00:00:37 ajacoutot Exp $
+ SHLINK_SFX='$(SHLIB_SFX)'
+ SONAME_SFX='$(SHLIB_SFX)'
+ LINK_SHLIB='$(CC) -shared'
+ INSTALL_SHLIB='$(INSTALL_PROGRAM)'
+ INSTALL_SHLIB='$(INSTALL_DATA)'
+ ;;
sparc-sun-solaris2*)
if test "$GCC" = yes; then