~nabijaczleweli/ossp#59: 
[mm 1.3.1] Problem Linking 64-Bit Version

#Upstream Ticket 59 from 2005-02-15 13:38:38

Hello,

I've found an little bug in the Makefile. The Linker-Flags don't effect the libtool, because they are not used. here is a little patch:

--- Makefile.in 2002-12-19 10:19:38.000000000 +0100
+++ ../../PESlibmm/Makefile.in.linkerpatch      2005-02-15 13:20:26.615497000 +0100
@@ -74,14 +74,14 @@
 all: $(LIBS) $(MANS) $(TSTS)

 libmm.la: $(OBJS)
-       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ $(OBJS) \
+       $(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) \
            -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool mm_vers.c`

 mm_alloc.c mm_core.c mm_global.c: mm.h mm_vers.c
 mm.h: config.h

 mm_test: mm_test.lo libmm.la
-       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ mm_test.lo libmm.la
+       $(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ mm_test.lo libmm.la

 mm.3: mm.pod
        V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \

Greetings Ralf

Status
REPORTED
Submitter
~nabijaczleweli
Assigned to
No-one
Submitted
4 months ago
Updated
4 months ago
Labels
CVSTrac mm