summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/imlib/files/patch-link-against-x11.diff
blob: 25cdac17ce1ecac5e2141e375aedc7901de7d5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- imlib-1.9.15.orig/Imlib/Makefile.am
+++ imlib-1.9.15/Imlib/Makefile.am
@@ -30,10 +30,10 @@
 	save.c		\
 	snprintf.c
 
-libImlib_la_LDFLAGS    = -version-info 10:15:9
+libImlib_la_LDFLAGS    = -version-info 11:0:0
 #libImlib_la_LDDADD     = $(SUPPORT_LIBS)
 libImlib_la_LIBADD     = $(SUPPORT_LIBS) $(X_PRE_LIBS) \
-			 $(X_LIBS) $(X_EXTRA_LIBS)
+			 $(X_LIBS) $(X_EXTRA_LIBS) -lX11
 
 DEFS =  -DSYSTEM_IMRC=\"$(sysconfdir)/imrc\" \
 	-DSYSCONFDIR=\"$(sysconfdir)\"