Use gcc directly for -print-multi-os-directory
The patch uses gcc directly everywhere else.
This commit is contained in:
parent
4c460e431e
commit
02c8201efb
@ -57,7 +57,7 @@ index e09a369..b474a19 100644
|
|||||||
BINDIR = $(DESTDIR)/sbin
|
BINDIR = $(DESTDIR)/sbin
|
||||||
MANDIR = $(DESTDIR)/share/man/man8
|
MANDIR = $(DESTDIR)/share/man/man8
|
||||||
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
|
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
|
||||||
+LIBDIR = $(DESTDIR)/lib/$(shell $(CC) -print-multi-os-directory 2> /dev/null)/pppd/$(VERSION)
|
+LIBDIR = $(DESTDIR)/lib/$(shell gcc -print-multi-os-directory 2> /dev/null)/pppd/$(VERSION)
|
||||||
|
|
||||||
SUBDIRS := rp-pppoe pppoatm pppol2tp
|
SUBDIRS := rp-pppoe pppoatm pppol2tp
|
||||||
# Uncomment the next line to include the radius authentication plugin
|
# Uncomment the next line to include the radius authentication plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user