summaryrefslogtreecommitdiff
path: root/usr/src/cmd/rmvolmgr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/rmvolmgr/Makefile')
-rw-r--r--usr/src/cmd/rmvolmgr/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/usr/src/cmd/rmvolmgr/Makefile b/usr/src/cmd/rmvolmgr/Makefile
index 75481251ec..e2b4b87385 100644
--- a/usr/src/cmd/rmvolmgr/Makefile
+++ b/usr/src/cmd/rmvolmgr/Makefile
@@ -37,17 +37,19 @@ include ../hal/Makefile.hal
POFILE=rmvolmgr_all.po
POFILES=$(OBJS:%.o=%.po)
-LDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract -lscf
+LDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage
+LDLIBS += -lcontract -lscf
+NATIVE_LIBS += libdbus-1.so libdbus-glib-1.so libglib-2.0.so
CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
CPPFLAGS += -I$(ROOT)/usr/include/hal
CSTD = $(CSTD_GNU99)
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-unused-variable
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-function
# not linted
SMATCH=off
@@ -77,4 +79,3 @@ $(POFILE): $(POFILES)
$(CAT) $(POFILES) > $@
include ../Makefile.targ
-