a fix for Win32 support provided by yutaka@marin.or.jp.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 5 Jun 1999 10:27:31 +0000 (10:27 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 5 Jun 1999 10:27:31 +0000 (10:27 +0000)
The patch will avoid to add .exe suffix to the pg_encoding
binary.

src/bin/pg_encoding/Makefile

index 61ddcafc4864149a70163c156ca7089faf2c5e84..91fd2e00206c8604485fead53e57fb641e4e40c8 100644 (file)
@@ -23,7 +23,7 @@ pg_encoding: $(OBJS) $(LIBPQDIR)/libpq.a
        $(CC) -o pg_encoding $(OBJS) -L$(LIBPQDIR) -lpq $(LDFLAGS)
 
 install: pg_encoding
-       $(INSTALL) $(INSTL_EXE_OPTS) pg_encoding $(BINDIR)/pg_encoding
+       $(INSTALL) $(INSTL_EXE_OPTS) pg_encoding$(X) $(BINDIR)/pg_encoding$(X)
 
 depend dep:
        $(CC) -MM $(CFLAGS) *.c >depend