Browse Source

Fix compile flags order (-lX11 moved to the end)

Marek Marczykowski-Górecki 9 years ago
parent
commit
9bb9e8d9e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misc/Makefile

+ 1 - 1
misc/Makefile

@@ -10,7 +10,7 @@ all:	xenstore-watch python close-window
 xenstore-watch: xenstore-watch.o
 	$(CC) -o xenstore-watch xenstore-watch.o -lxenstore
 close-window: close-window.c
-	$(CC) -lX11 -o $@ $<
+	$(CC) -o $@ $< -lX11
 python:
 	python -m compileall .
 	python -O -m compileall .