Revision 7, 0.6 kB
(checked in by broder, 17 years ago)
|
libhesiod will compile a universal library if you ask it nicely enough
|
Line | |
---|
1 |
--- Makefile.in.orig 2007-12-19 22:04:11.000000000 -0500 |
---|
2 |
+++ Makefile.in 2007-12-19 22:12:17.000000000 -0500 |
---|
3 |
@@ -22,6 +22,7 @@ |
---|
4 |
LIBS=@LIBS@ |
---|
5 |
ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} |
---|
6 |
OBJS=hesiod.lo hesmailhost.lo hespwnam.lo hesservbyname.lo hescompat.lo |
---|
7 |
+LIBTOOLFLAGS=$(foreach flag,$(LDFLAGS),-Xlinker $(flag)) |
---|
8 |
|
---|
9 |
.SUFFIXES: .lo |
---|
10 |
|
---|
11 |
@@ -29,7 +30,7 @@ |
---|
12 |
|
---|
13 |
libhesiod.la: ${OBJS} |
---|
14 |
${LIBTOOL} --mode=link ${CC} -rpath ${libdir} -version-info 0:0:0 \ |
---|
15 |
- -o $@ ${OBJS} ${LIBS} |
---|
16 |
+ ${LIBTOOLFLAGS} -o $@ ${OBJS} ${LIBS} |
---|
17 |
|
---|
18 |
hestest: hestest.lo libhesiod.la |
---|
19 |
${LIBTOOL} --mode=link ${CC} -o $@ hestest.lo libhesiod.la |
---|