Use gcc directly for -print-multi-os-directory

The patch uses gcc directly everywhere else.
This commit is contained in:
Timm Bäder 2020-11-10 14:57:56 +01:00
parent 4c460e431e
commit 02c8201efb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ index e09a369..b474a19 100644
BINDIR = $(DESTDIR)/sbin
MANDIR = $(DESTDIR)/share/man/man8
-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
# Uncomment the next line to include the radius authentication plugin