Skip to content

Commit 9d1f469

Browse files
committed
These days linking with XShape extension must be done explicitly.
1 parent 70e9a9b commit 9d1f469

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Jamconfig.in

+3
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ X_EXTRA_LIBS ?= @X_EXTRA_LIBS@ ;
129129
# solo XKB extension library
130130
XKB_LIBS ?= @XKB_LIBS@ ;
131131

132+
# shape extension
133+
XSHAPE_LIBS ?= @XSHAPE_LIBS@ ;
134+
132135
# curl libraries
133136
CURL_CFLAGS ?= @CURL_CFLAGS@ ;
134137
CURL_LIBS ?= @CURL_LIBS@ ;

configure.in

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ if test "$enable_shape" = "yes"; then
8989

9090
if test "$have_xshape" = "yes"; then
9191
AC_DEFINE(HAVE_SHAPE, 1, [Define to 1 if you have XShape extension])
92+
XSHAPE_LIBS="-lXext"
9293
fi
9394
fi
9495

@@ -300,6 +301,7 @@ AC_SUBST(CURL_CFLAGS)
300301
AC_SUBST(CURL_LIBS)
301302
AC_SUBST(LARGEFILE)
302303
AC_SUBST(XKB_LIBS)
304+
AC_SUBST(XSHAPE_LIBS)
303305
AC_SUBST(my_sysconfdir)
304306
AC_SUBST(KSTAT_LIBS)
305307
AC_SUBST(PEKWM_CXXFLAGS)

0 commit comments

Comments
 (0)