fix link with lld

This commit is contained in:
espie 2017-11-03 13:52:15 +00:00
parent 2afc8f576d
commit f1a2aa57f7

View File

@ -1,10 +1,12 @@
$OpenBSD: patch-Makefile,v 1.5 2010/03/23 20:38:20 jasper Exp $
$OpenBSD: patch-Makefile,v 1.6 2017/11/03 13:52:15 espie Exp $
- Honor cflags
- Port to gtk+2
- don't remove -lm
--- Makefile.orig Fri Apr 5 05:56:05 2002
+++ Makefile Tue Mar 23 21:27:40 2010
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -19,11 +19,9 @@ GTK_DIR =
#
# add -DUSE_GNOME if you want to make grpn GNOME compliant.
@ -24,7 +26,7 @@ $OpenBSD: patch-Makefile,v 1.5 2010/03/23 20:38:20 jasper Exp $
-LIBS = `$(GTK_DIR)gtk-config --libs` -lX11 -lm
+LIBS = `pkg-config --libs gtk+-2.0`
+LIBS = `pkg-config --libs gtk+-2.0` -lm
grpn: $(OBJS)