Ticket #12504: patch-patch-makefile.cfg

File patch-patch-makefile.cfg, 975 bytes (added by mww@…, 16 years ago)

Patch for patch-makefile.cfg for universal build

Line 
1--- patch-makefile.cfg  2007-12-13 00:54:56.000000000 +0100
2+++ patch-makefile.cfg.new      2007-12-13 00:51:56.000000000 +0100
3@@ -1,10 +1,21 @@
4---- makefile.cfg.org   Fri Apr 22 21:31:36 2005
5-+++ makefile.cfg       Fri Apr 22 21:36:22 2005
6-@@ -169,7 +169,7 @@
7+--- makefile.cfg       1998-03-21 20:08:57.000000000 +0100
8++++ makefile.cfg       2007-12-13 00:50:27.000000000 +0100
9+@@ -17,7 +17,7 @@
10+ binprefix =
11+ manprefix =
12+ manext = 1
13+-mandir = $(prefix)/man/man$(manext)
14++mandir = $(prefix)/share/man/man$(manext)
15+
16+ # The name of your C compiler:
17+ CC= @CC@
18+@@ -168,8 +168,8 @@
19+
20  # with libtool:
21  libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
22-       $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
23+-      $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
24 -              -rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
25++      $(LIBTOOL) --mode=link "$(CC) $(CFLAGS)" -o libjpeg.la $(LIBOBJECTS) \
26 +              -rpath $(libdir) -no-undefined -version-info $(JPEG_LIB_VERSION)
27 
28  # sample programs: