summaryrefslogtreecommitdiff
path: root/xseticon/debian/patches/Makefile.patch
blob: b5b4279fd3d07fdbd455287a959d77e673d54e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Date: 2020-02-10
Author: bgstack15
Notes: The order of flags matters to gcc on Devuan. Fedora did not need this the same way.
References:
Web search "undefined reference to `XAllowEvents"
https://github.com/aktau/hhpc/commit/1c97ac2c69abf475af9746e0dc31170e0ee9b00b
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ xseticon.o: xseticon.c
 	gcc ${GLIB_CFLAGS} ${XLIB_CFLAGS} -c $^ -o $@
 
 xseticon: xseticon.o
-	gcc ${LIBS} $^ -o $@
+	gcc $^ -o $@ ${LIBS}
 
 .PHONY: clean
 clean:
bgstack15