Build: use EXTRA_LIBS when building "shutdown". v0.06
authorDavin McCall <davmac@davmac.org>
Tue, 26 Dec 2017 14:18:52 +0000 (14:18 +0000)
committerDavin McCall <davmac@davmac.org>
Tue, 26 Dec 2017 14:18:52 +0000 (14:18 +0000)
src/Makefile

index 21c4cf630e5635be61cc030eb07ab0f73d6e7b48..04c8116a8dcda7db84246e556340bd90f95f9298 100644 (file)
@@ -17,7 +17,7 @@ dinitctl: dinitctl.o
        $(CXX) -o dinitctl dinitctl.o $(EXTRA_LIBS)
        
 shutdown: shutdown.o
-       $(CXX) -o shutdown shutdown.o
+       $(CXX) -o shutdown shutdown.o $(EXTRA_LIBS)
 
 $(objects): %.o: %.cc
        $(CXX) $(CXXOPTS) -Idasynq -c $< -o $@