Subject: pkg/7463: ImageMagick uses -R instead of -Wl,-R with cc
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/24/1999 07:05:47
>Number:         7463
>Category:       pkg
>Synopsis:       ImageMagick uses -R instead of -Wl,-R with cc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 24 07:05:00 1999
>Originator:     Todd Vierling
	DuhNet: Pointing out the obvious since 1994.

>Release:        -current as of Now


The ImageMagick pkg uses -R with cc, which does not work on 1.3.x based
ELF systems.


Compile on NetBSD/alpha or NetBSD/pmax 1.3.x.


Change macros to use -Wl,-R${PREFIX}/lib with cc, or better yet inherit
${LDFLAGS} from make's environment.

Matthias (tron) has noted thatsome of the same macros are used with `ld'
when linking some shared objects.  If that is the case, the macro
expansions do need to be modified to use different macros for cc and ld.