Opened 12 years ago

Closed 10 years ago

#17902 closed defect (worksforme)

libwmf: doesn't compile with universal variant

Reported by: skl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: libwmf universal Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: libwmf


the build stops with an error about

ld: warning in /tmp/skl/, file is not of required architecture
ld: warning in ../.libs/libwmflite.dylib, file is not of required architecture

a few lines earlier it seems that libtool doesn't hand over all needed universal LDFLAGS to gcc.

/bin/sh ../libtool --mode=link --tag=CC /usr/bin/gcc-4.0  -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -mmacosx-version-min=10.5 -I/tmp/skl/ -I/tmp/skl/        -I/tmp/skl/ -I/tmp/skl/ -I/tmp/skl/ -I/tmp/skl/    -L/tmp/skl/ -arch ppc -arch i386 -mmacosx-version-min=10.5 -o -rpath /tmp/skl/ -lm -no-undefined -version-info 7:1:0 -release 0.2 -export-dynamic api.lo bbuf.lo meta.lo player.lo recorder.lo  
/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libwmflite-  .libs/api.o .libs/bbuf.o .libs/meta.o .libs/player.o .libs/recorder.o  -L/tmp/skl/ -lm -mmacosx-version-min=10.5 -mmacosx-version-min=10.5 -install_name  /tmp/skl/ -compatibility_version 8 -current_version 8.1

Change History (3)

comment:1 Changed 12 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:2 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Current version seems fine.

Note: See TracTickets for help on using tickets.