aboutsummaryrefslogtreecommitdiff
path: root/libX11/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-27 09:14:14 +0200
committermarha <marha@users.sourceforge.net>2012-06-27 09:14:14 +0200
commit392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7 (patch)
treee4db977508f3e38e79ed5d06523eda5d8f9a6397 /libX11/src
parentd02cf3cc6e0989aace77a47a56979d1f21d33724 (diff)
downloadvcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.tar.gz
vcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.tar.bz2
vcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.zip
libXmu is now a dll
Exported variables in libX11 and libxcb should be declared with __declspec(dllimport)
Diffstat (limited to 'libX11/src')
-rw-r--r--libX11/src/makefile3
-rw-r--r--libX11/src/xcms/makefile3
-rw-r--r--libX11/src/xkb/Makefile2
-rw-r--r--libX11/src/xlibi18n/makefile2
4 files changed, 7 insertions, 3 deletions
diff --git a/libX11/src/makefile b/libX11/src/makefile
index 4d74b854e..456ad4895 100644
--- a/libX11/src/makefile
+++ b/libX11/src/makefile
@@ -1,6 +1,7 @@
LIBRARY=libx11
-DEFINES += X11_t TRANS_CLIENT
+DEFINES += X11_t TRANS_CLIENT LIB11_DLL
+
CSRCS = \
AllCells.c \
diff --git a/libX11/src/xcms/makefile b/libX11/src/xcms/makefile
index 00fab124a..0ba42a246 100644
--- a/libX11/src/xcms/makefile
+++ b/libX11/src/xcms/makefile
@@ -1,6 +1,7 @@
LIBRARY = libxcms
-DEFINES += HAVE_CONFIG_H
+DEFINES += HAVE_CONFIG_H LIB11_DLL
+
CSRCS = \
AddDIC.c \
diff --git a/libX11/src/xkb/Makefile b/libX11/src/xkb/Makefile
index 0f6b7e859..56aecc880 100644
--- a/libX11/src/xkb/Makefile
+++ b/libX11/src/xkb/Makefile
@@ -1,5 +1,7 @@
LIBRARY = libxkb
+DEFINES += LIB11_DLL
+
CSRCS = \
XKB.c \
XKBBind.c \
diff --git a/libX11/src/xlibi18n/makefile b/libX11/src/xlibi18n/makefile
index 5be81d350..d5dfcf723 100644
--- a/libX11/src/xlibi18n/makefile
+++ b/libX11/src/xlibi18n/makefile
@@ -44,7 +44,7 @@ LIBRARY = libi18n
# $(IM_LIBS) $(LC_LIBS) $(OM_LIBS)
INCLUDES += ..\..\include\X11
-DEFINES += XLOCALELIBDIR="\".\""
+DEFINES += XLOCALELIBDIR="\".\"" LIB11_DLL
CSRCS = \
$(XI18N_DL_SOURCES) \