add -Wl,-rpath,${X11USRLIBDIR}/modules to LDADD, so that scanpci can
find libscanpci.so.0. fixes PR#40050.
This commit is contained in:
parent
f4b2fe2c8d
commit
762b4ef51e
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/10/14 23:37:19 cube Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2008/11/28 21:36:28 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -15,6 +15,7 @@ CPPFLAGS+= -DHAVE_XORG_CONFIG_H \
|
||||
-I${X11SRCDIR.xorg-server}/hw/xfree86/dummylib
|
||||
|
||||
LDADD= -L${SCANPCIOBJDIR} -lscanpci \
|
||||
-Wl,-rpath,${X11USRLIBDIR}/modules \
|
||||
-L${XORGOSOBJDIR} -lxorgos \
|
||||
-L${DUMMYOBJDIR} -ldummy -lm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user