summaryrefslogtreecommitdiffstats
path: root/loader2/Makefile
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-08-25 10:19:19 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-08-25 10:19:19 -1000
commit57e7079052bec83c6aa0bb327b220d1de908d118 (patch)
tree4a4e0a548e489543cdb6152768e8800d43668ddf /loader2/Makefile
parent2be503dd8da94df9979528594bc2a91db5e0cc96 (diff)
downloadanaconda-57e7079052bec83c6aa0bb327b220d1de908d118.tar.gz
anaconda-57e7079052bec83c6aa0bb327b220d1de908d118.tar.xz
anaconda-57e7079052bec83c6aa0bb327b220d1de908d118.zip
Use NetworkManager instead of libdhcp. (#458183)
Finally, no more libdhcp. This is the first set of changes to take anaconda over to the wonderful world of NetworkManager. We are no longer linking with libdhcp to do interface configuration. NM is started early in the installation and opens the door to things like WPA installation support and things like that.
Diffstat (limited to 'loader2/Makefile')
-rw-r--r--loader2/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index 57c022552..ff56e501a 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -28,13 +28,20 @@ endif
LIBS = -lnewt -lslang -lz -lpopt ../isys/libisys.a -lcheckisomd5
-# dhcp library flags
-LIBS += $(shell pkg-config --libs libdhcp)
-CFLAGS += $(shell pkg-config --cflags libdhcp)
-
# devmapper
-LIBS += $(shell pkg-config --libs devmapper)
-CFLAGS += $(shell pkg-config --cflags devmapper)
+LIBS += $(shell pkg-config --libs devmapper)
+CFLAGS += $(shell pkg-config --cflags devmapper)
+
+# libnl
+LIBS += $(shell pkg-config --libs libnl-1)
+CFLAGS += $(shell pkg-config --cflags libnl-1)
+
+# NetworkManager
+CFLAGS += $(shell pkg-config --cflags NetworkManager)
+
+# D-Bus
+LIBS += $(shell pkg-config --libs dbus-1)
+CFLAGS += $(shell pkg-config --cflags dbus-1)
ifeq (1, $(USESELINUX))
LIBS += -lselinux -lsepol