Among other things fixes build against -fno-common toolchains like clang-12: $ nix build --impure --expr 'with import ./.{}; artha.override { stdenv = clang12Stdenv; }' -L ... artha> ld: gui.o:/build/artha-1.0.3/src/./mod_notify.h:37: multiple definition of `notify_uninit'; mod_notify.o:/build/artha-1.0.3/src/./mod_notify.h:37: first defined heremain
parent
d0a7fc845d
commit
641a7dedef
@ -1,13 +0,0 @@ |
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 0236d72..bcc1182 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -38,7 +38,7 @@ artha_LDADD = libwni.a $(WORDNET_LIB)
|
||||
|
||||
if POSIX
|
||||
AM_CFLAGS += @libdbus_CFLAGS@
|
||||
-artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgtk-x11-2.0 \
|
||||
+artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgio-2.0 -lgtk-x11-2.0 \
|
||||
-lgdk-x11-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0
|
||||
else
|
||||
artha_LDADD += @GTK_LIBS@
|
Loading…
Reference in new issue