From: Pavel Pisa Date: Sat, 10 Nov 2007 11:37:00 +0000 (+0000) Subject: Allow to specify libraries which should be used be included into shared library. X-Git-Tag: v0.1~55 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/3bbcf0e97ef6fe454567e45df679f6495321cdeb?ds=sidebyside Allow to specify libraries which should be used be included into shared library. Needs testing and more time to clean up. darcs-hash:20071110113725-ff715-4fec12b8041e313f2e49dee19b3932a2e9c41df6.gz --- diff --git a/snippets/linux b/snippets/linux index d5782c4..5ec81c6 100644 --- a/snippets/linux +++ b/snippets/linux @@ -265,7 +265,7 @@ SOLIB_SOURCES += $$($(1)_SOURCES) $(USER_LIB_DIR)/lib$(1).$(SOLIB_EXT): $$($(1)_OBJSLO) @$(QUIET_CMD_ECHO) " LINK $$@" - $(Q) $(LD) --shared --soname=lib$(1).$(SOLIB_EXT) -o $$@ $$^ + $(Q) $(LD) --shared --soname=lib$(1).$(SOLIB_EXT) -o $$@ $$^ $$($(1)_LIBS:%=-l%) endef