summaryrefslogtreecommitdiff
path: root/solenv/inc/tg_def.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-18 02:50:40 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-18 02:50:40 +0300
commit67c0847fa953c906a35c410baa64456520d7a6ce (patch)
treec956e0b9569bb8e563b8d5878950367805de1f61 /solenv/inc/tg_def.mk
parent7a72d99bdf0b2b82b4fa359398308234a6497766 (diff)
MinGW fixes for DLL creation
Diffstat (limited to 'solenv/inc/tg_def.mk')
-rw-r--r--solenv/inc/tg_def.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/inc/tg_def.mk b/solenv/inc/tg_def.mk
index c2056a69938d..763ad26e5021 100644
--- a/solenv/inc/tg_def.mk
+++ b/solenv/inc/tg_def.mk
@@ -55,7 +55,7 @@ $(DEF$(TNR)EXPORTFILE) : $(SHL$(TNR)VERSIONMAP)
$(COMMAND_ECHO)-$(GREP) "\*\|?" $@ > $@.symbols-regexp
# Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
# Extract RTTI symbols from all the objects that will be used to build a shared library
- $(COMMAND_ECHO)nm -gP $(SHL$(TNR)OBJS) \
+ $(COMMAND_ECHO)$(NM) -gP $(SHL$(TNR)OBJS) \
`$(TYPE) /dev/null $(foreach,j,$(SHL$(TNR)LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
| $(SOLARENV)/bin/addsym-mingw.sh $@.symbols-regexp $@.symbols-regexp.tmp >> $@.exported-symbols
# overwrite the map file generate into the local output tree with the generated