Print this page
7592 acpi commands link against host libc
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>

@@ -7,10 +7,11 @@
 # A full copy of the text of the CDDL should have accompanied this
 # source.  A copy of the CDDL is also available via the Internet at
 # http://www.illumos.org/license/CDDL.
 #
 # Copyright 2016 Joyent, Inc.
+# Copyright 2016 RackTop Systems.
 #
 
 PROG=           acpidump
 
 include ../../Makefile.cmd

@@ -27,11 +28,11 @@
 .KEEP_STATE:
 
 all: $(PROG)
 
 $(PROG): $(OBJS)
-        $(LINK.c) -o $@ $(OBJS) ../common/acpi.a
+        $(LINK.c) -o $@ $(OBJS) ../common/acpi.a $(LDLIBS)
         $(POST_PROCESS)
 
 install: all $(ROOTUSRSBINPROG)
 
 clean: