open-src/lib/libX11/Makefile
changeset 1196 1ce455dae979
parent 1179 4ad971e180c3
child 1233 1134c9fd2fe6
--- a/open-src/lib/libX11/Makefile	Sun Aug 28 21:53:02 2011 -0700
+++ b/open-src/lib/libX11/Makefile	Mon Aug 29 11:22:46 2011 -0700
@@ -136,6 +136,9 @@
 
 MODULE_LDFLAGS = -R$(X11_LIB_DIR)$(ARCHLIBSUBDIR)
 
+# Need to ignore extra libraries like -lsocket & -lnsl in i18n modules
+MODULE_LD_OPTIONS = -z ignore
+
 # Backwards compatibility for old paths until g11n moves all input methods
 MODULE_CONFIG_ENV = \
  XLOCALEDIR="/usr/share/X11/locale:/usr/X11/share/X11/locale" \