Package: rem / 0.6.0-4

1001_fix_libre_linking.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Move -lre to last on linking line
 libre was not linked to librem but moving it to
 end of link line  seems to fix the issue.
 .
 This was making application using librem fail as
 symbols related to libre were marked as missing
 by linker.
Author: Vasudev Kamath <vasudev@copyninja.info>
Bug-Debian: https://bugs.debian.org/817041
Last-Updated: 2016-03-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@
 
 $(SHARED): $(OBJS)
 	@echo "  LD      $@"
-	@$(LD) $(LFLAGS) $(SH_LFLAGS) $^ -L$(LIBRE_SO) -lre $(LIBS) -o $@
+	@$(LD) $(LFLAGS) $(SH_LFLAGS) $^ -L$(LIBRE_SO) $(LIBS) -lre -o $@
 
 
 $(STATIC): $(OBJS)