1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/chinese/autoconvert/files/patch-ab

18 lines
515 B
Plaintext
Raw Normal View History

--- hzconvert/Makefile.orig Wed Jan 5 13:12:31 2000
+++ hzconvert/Makefile Sun Mar 12 18:39:46 2000
@@ -1,12 +1,12 @@
CC=gcc -I../include
CFLAGS=-O2
OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o
+all:libhzconvert
%.o:%c
$(CC) $(CFLAGS) -c $<
-all:libhzconvert
libhzconvert:$(OBJS)
ar rs ../lib/libhz.a $(OBJS)
- gcc -shared -o ../lib/libhz.so $(OBJS) -ldl
+ gcc -shared -o ../lib/libhz.so $(OBJS)
clean:
rm -f *.o *~ ../lib/libhz.a ../lib/libhz.so