iasl(8): Fix library dependencies.
authorSascha Wildner <saw@online.de>
Sun, 17 Jul 2011 11:23:52 +0000 (13:23 +0200)
committerSascha Wildner <saw@online.de>
Sun, 17 Jul 2011 11:23:52 +0000 (13:23 +0200)
usr.sbin/acpi/iasl/Makefile

index c6e4913..197fcf8 100644 (file)
@@ -39,7 +39,8 @@ MAN=  iasl.8
 CFLAGS+= -D_ACPI_ASL_COMPILER -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT -I.
 
 CFLAGS+= -D_USE_BERKELEY_YACC
-LDFLAGS+= -lpthread
+LDADD= -lpthread
+DPADD= ${LIBPTHREAD}
 LFLAGS=        -i -PAslCompiler
 YFLAGS=        -d -pAslCompiler