proper link order

undef syms from the left, def syms from the right, as it should be.
It's either this, or -Wl,--start-group/-Wl,--end-group around
everything.

Change-Id: I8083c5dc990acd6b60b053883fdd1b42c3bc0d4f
diff --git a/ccid/Makefile b/ccid/Makefile
index 2194180..3258967 100644
--- a/ccid/Makefile
+++ b/ccid/Makefile
@@ -1,7 +1,7 @@
 CFLAGS=-Wall -g
 
 ccid_functionfs: ccid_main_functionfs.o ccid_proto.o ccid_device.o ccid_slot_sim.o
-	$(CC) $(CFLAGS) -lasan -losmocore -ltalloc -laio -o $@ $^
+	$(CC) $(CFLAGS) -o $@ $^ -lasan -losmocore -ltalloc -laio
 
 %.o: %.c
 	$(CC) $(CFLAGS) -o $@ -c $^