summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--iconvdata/Makefile9
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ff25cfe7da..918d1463c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
+
+	* iconvdata/Makefile: Finally fix dependencies for JOHAB and
+	EUC-KR modules.
+
 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
 
 	* sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 807b9022f2..14aeaaed1f 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -59,8 +59,13 @@ UHC-routines := uhc ksc5601
 libJIS-routines := jis0201 jis0208 jis0212
 libKSC-routines := ksc5601
 
-LDFLAGS-EUC-KR.so = -Wl,-rpath,$(gconvdir) -L$(objpfx) -lKSC
-LDFLAGS-JOHAB.so = -Wl,-rpath,$(gconvdir) -L$(objpfx) -lKSC
+LDFLAGS-EUC-KR.so = -Wl,-rpath,$(gconvdir)
+$(objpfx)EUC-KR.so: $(objpfx)libKSC.so
+LDFLAGS-JOHAB.so = -Wl,-rpath,$(gconvdir)
+$(objpfx)JOHAB.so: $(objpfx)libKSC.so
+
+LDFLAGS-libJIS.so = -Wl,-soname,libJIS.so
+LDFLAGS-libKSC.so = -Wl,-soname,libKSC.so
 
 distribute := 8bit-generic.c 8bit-gap.c gap.pl gaptab.pl gconv-modules	    \
 	      iso8859-1.c iso8859-2.c iso8859-3.c iso8859-4.c iso8859-5.c   \