Michèle Garoche wrote:
I try to compile a package which constructs three plugins during the
compilation.
[]
$(PLUGIN): $(OBJECTS)
$(LIBTOOL) --mode=link $(CC) -module $(LIBS) -shared -o $@ $(LOBJECTS)
What happens if you remove the "-shared" from this line?
Libtool should recognize the -module flag and translate it to something like
-Wl,-bind_at_load -flat_namespace -undefined suppress -bundle
If you want to have a two-level image (and don't get an answer from
pogma explaining how to talk to libtool in its native language), you can
replace the "-module -shared" simply by "-bundle -undefined
dynamic_lookup -bind_at_load".
--
Martin
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel