libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Darwin & Dynamic modules


From: Max Horn
Subject: Darwin & Dynamic modules
Date: Sat, 15 Sep 2001 02:20:34 +0200

OK, I think I just found out that this is the reason modules are not built right on darwin:

# Commands used to build and install a shared archive.
archive_cmds="\$CC \$(test \\"x\$module\\" = xyes && echo -bundle || echo -dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags -install_name \$rpath/\$soname \$verstring"


Changing the two \\" to \" worked nicely for me. Libtool, with this change, produces modules now when asked for them.




-vx is really a useful set of options for /bin/sh :)


Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:address@hidden>
phone: (+49) 6151-494890



reply via email to

[Prev in Thread] Current Thread [Next in Thread]