void-packages/srcpkgs/klavaro/patches/linking-order.patch

17 lines
507 B
Diff

When linking the libraries need to be in the proper order
to prevent an undefined reference error.
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -369,8 +369,8 @@
AM_CFLAGS = -Wextra -I$(top_srcdir)/gtkdatabox $(am__append_1) \
$(am__append_3)
AM_LDFLAGS = -static
-klavaro_LDADD = @GTK_LIBS@ -lgmodule-2.0 \
- $(top_srcdir)/gtkdatabox/libgtkdataboks.la $(am__append_2)
+klavaro_LDADD = $(top_srcdir)/gtkdatabox/libgtkdataboks.la $(am__append_2) @GTK_LIBS@ -lgmodule-2.0
+
all: all-am
.SUFFIXES: