#13817 closed defect (fixed)
t1lib can't be built universal
Reported by: | t.niese@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | t1lib | Cc: | |
Port: |
Description
when trying to compile the t1lib as universal i get the following message:
ld: warning in ../lib/.libs/libt1.dylib, file is not of required architecture
i was able to trac the problem down to the building of the dynamic-library which is alway in the host architecture instead of being universal.
if i change the line 8657 of the config file from:
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
to
archive_cmds='$CC -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
it will compile as universal so it seems, that the compile flags set in the env get lost for this command at the make process.
cause i'm not very familiar with make and config files, i have no clue where to fix this problem.
Change History (4)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Summary: | t1lib can't be build universal → t1lib can't be built universal |
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Well after trying a lot of other more complicated things, it turns out it just needs a newer libtool! Fixed in r33627.