#13817: t1lib can't be build universal -------------------------------+-------------------------------------------- Reporter: t.niese@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: t1lib | -------------------------------+-------------------------------------------- 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.[[BR]] cause i'm not very familiar with make and config files, i have no clue where to fix this problem. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13817> MacPorts </projects/macports> Ports system for Mac OS