From a20feee4963bc38975fbaf44bbe85a31825f59db Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 6 Apr 2019 17:28:28 -0700
Subject: [PATCH 1/3] Fix parallel build (fix port-internal make dependencies)
 on many cores

Upstream-Status: Submitted [https://github.com/lcdproc/lcdproc/pull/142]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 server/drivers/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/drivers/Makefile.am b/server/drivers/Makefile.am
index e08f2b2d..4fd2e3f1 100644
--- a/server/drivers/Makefile.am
+++ b/server/drivers/Makefile.am
@@ -47,11 +47,11 @@ CwLnx_LDADD =        libLCD.a libbignum.a
 futaba_LDADD =       @LIBUSB_LIBS@ @LIBUSB_1_0_LIBS@ libLCD.a
 g15_LDADD =          @LIBG15@
 glcd_LDADD =         libLCD.a @GLCD_DRIVERS@ @FT2_LIBS@ @LIBPNG_LIBS@ @LIBSERDISP@ @LIBUSB_LIBS@ @LIBX11_LIBS@
-glcd_DEPENDENCIES =  @GLCD_DRIVERS@ glcd-glcd-render.o
+glcd_DEPENDENCIES =  @GLCD_DRIVERS@ glcd-glcd-render.o libLCD.a
 glcdlib_LDADD =      @LIBGLCD@
 glk_LDADD =          libbignum.a
 hd44780_LDADD =      libLCD.a @HD44780_DRIVERS@ @HD44780_I2C@ @LIBUSB_LIBS@ @LIBFTDI_LIBS@ @LIBUGPIO@ libbignum.a
-hd44780_DEPENDENCIES = @HD44780_DRIVERS@ @HD44780_I2C@
+hd44780_DEPENDENCIES = @HD44780_DRIVERS@ @HD44780_I2C@ libLCD.a libbignum.a
 i2500vfd_LDADD =     @LIBFTDI_LIBS@
 imon_LDADD =         libLCD.a libbignum.a
 imonlcd_LDADD =      libLCD.a
-- 
2.24.1

