bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] [PATCH] '.EXE' extension needed to the executable


From: KO Myung-Hun
Subject: [bug-gnu-libiconv] [PATCH] '.EXE' extension needed to the executable
Date: Tue, 24 Feb 2009 23:48:43 +0900
User-agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.19) Gecko/20081217 SeaMonkey/1.1.14 Mnenhy/0.7.6.0

Hi/2.

This patch adds '.EXE' extension to the executable.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 1.1.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1 GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr


diff -buNr src/Makefile.in.org src/Makefile.in
--- src/Makefile.in.org 2007-05-27 15:15:40.000000000 +0900
+++ src/Makefile.in     2009-02-17 12:08:34.000000000 +0900
@@ -62,11 +62,11 @@
 # i.e. during "make install". The intermediate 'iconv' executable is built
 # without internationalization and not linked with libintl.
 
-all : iconv_no_i18n address@hidden@ $(address@hidden@)
+all : iconv_no_i18n$(EXEEXT) address@hidden@ $(address@hidden@)
        test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 
777 .
 
 # This is the temporary iconv executable, without internationalization.
-iconv_no_i18n : address@hidden@ ../lib/libiconv.la $(address@hidden@)
+iconv_no_i18n$(EXEEXT) : address@hidden@ ../lib/libiconv.la $(address@hidden@)
        $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) address@hidden@ 
../srclib/libicrt.a ../lib/libiconv.la $(address@hidden@) -o $@
 
 address@hidden@ : $(srcdir)/iconv_no_i18n.c $(srcdir)/iconv.c
@@ -103,16 +103,16 @@
 install : all force
        if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) 
$(DESTDIR)$(bindir) ; fi
        case "@host_os@" in \
-         hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) address@hidden@ 
../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(address@hidden@) 
`if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv;; \
-         *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) 
address@hidden@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ 
$(address@hidden@) -o iconv;; \
+         hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) address@hidden@ 
../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(address@hidden@) 
`if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o 
iconv$(EXEEXT);; \
+         *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) 
address@hidden@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ 
$(address@hidden@) -o iconv$(EXEEXT);; \
        esac
-       $(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv 
$(DESTDIR)$(bindir)/iconv
+       $(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) 
iconv$(EXEEXT) $(DESTDIR)$(bindir)/iconv$(EXEEXT)
 
 installdirs : force
        if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) 
$(DESTDIR)$(bindir) ; fi
 
 uninstall : force
-       $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/iconv
+       $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/iconv$(EXEEXT)
 
 check : all
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]