aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/wxgtk-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/wxgtk-devel/Makefile b/x11-toolkits/wxgtk-devel/Makefile
index 068f81da9d2e..62d1c3b80376 100644
--- a/x11-toolkits/wxgtk-devel/Makefile
+++ b/x11-toolkits/wxgtk-devel/Makefile
@@ -34,9 +34,11 @@ CONFIGURE_ARGS= --with-libpng=sys \
--with-zlib=sys \
--with-opengl
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
+ -I${WRKSRC}/include \
-I${LOCALBASE}/include \
-I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -liconv \
+ LDFLAGS="${PTHREAD_LIBS} \
+ -L${LOCALBASE}/lib -liconv \
-L${X11BASE}/lib" \
GTK_CONFIG_2_0="no"