~emersion/public-inbox

wl-ime-type: Fix compilation flags order v1 APPLIED

Umar Getagazov: 1
 Fix compilation flags order

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/26168/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH wl-ime-type] Fix compilation flags order Export this patch

When using gcc, shared libraries have to appear after the objects which
are being compiled/linked.

Related: https://github.com/emersion/hello-wayland/commit/7e5aac7
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f52f6cb..05ce8b9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ protocol_files = input-method-unstable-v2-protocol.h input-method-unstable-v2-pr
all: wl-ime-type

wl-ime-type: main.c $(protocol_files)
	$(CC) $(CFLAGS) $(depflags) -o $@ $^
	$(CC) $(CFLAGS) -o $@ $^ $(depflags)

input-method-unstable-v2-protocol.h: protocol/input-method-unstable-v2.xml
	$(WAYLAND_SCANNER) client-header $< $@
-- 
2.33.0
Pushed, thanks!