Set _OPSYS_RPATH_NAME="-L". UnixWare has no rpath, but many packages

pass "-Wl,${RPATH_FLAG}..." to the linker, which can break the build
of these packages.  Using -L essentially makes these arguments a no-op,
and fixes packages which were solely broken by this.
This commit is contained in:
jlam 2004-08-10 15:11:58 +00:00
parent 6bf47762a8
commit 1b3922b1bc

View file

@ -1,4 +1,4 @@
# $NetBSD: defs.UnixWare.mk,v 1.5 2004/06/18 11:22:41 kristerw Exp $
# $NetBSD: defs.UnixWare.mk,v 1.6 2004/08/10 15:11:58 jlam Exp $
#
# Variable definitions for the UnixWare 7 operating system.
@ -125,7 +125,7 @@ _OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
# XXX native linker for UnixWare doesn't have this, see also _USE_RPATH
_OPSYS_RPATH_NAME= # name of symbol in rpath directive to linker
_OPSYS_RPATH_NAME= -L # name of symbol in rpath directive to linker
_OPSYS_SHLIB_TYPE= ELF/a.out # shared lib type
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix