aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-02-24 19:39:12 +1100
committerNeil <nyamatongwe@gmail.com>2016-02-24 19:39:12 +1100
commit9d637abf8c3744eb47166c5fd07c309535037b06 (patch)
treecff0c511575b1f262ead4b73cd95857066131952
parentf1fb342721e222e7eae1f15f2b180b4ff070b9c0 (diff)
downloadscintilla-mirror-9d637abf8c3744eb47166c5fd07c309535037b06.tar.gz
Bug [#1813]. Unmangle exported Scintilla_DirectFunction.
Backed out changeset: 819f953e432b
-rw-r--r--win32/makefile4
-rw-r--r--win32/scintilla.mak4
2 files changed, 4 insertions, 4 deletions
diff --git a/win32/makefile b/win32/makefile
index fab7d0795..668812553 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -96,7 +96,7 @@ BASEOBJS = \
SOBJS = ScintillaWin.o ScintillaBase.o $(BASEOBJS)
-$(COMPONENT): $(SOBJS)
+$(COMPONENT): $(SOBJS) Scintilla.def
$(CXX) $(LDFLAGS) -o $@ $(STRIPFLAG) $(SOBJS) $(CXXFLAGS) $(LIBS)
LOBJS = \
@@ -112,7 +112,7 @@ LOBJS = \
WordList.o \
$(BASEOBJS) \
$(LEXOBJS)
-$(LEXCOMPONENT): $(LOBJS)
+$(LEXCOMPONENT): $(LOBJS) Scintilla.def
$(CXX) $(LDFLAGS) -o $@ $(STRIPFLAG) $(LOBJS) $(CXXFLAGS) $(LIBS)
$(LEXLIB): $(LEXOBJS)
diff --git a/win32/scintilla.mak b/win32/scintilla.mak
index 9e4503b78..e0d16f387 100644
--- a/win32/scintilla.mak
+++ b/win32/scintilla.mak
@@ -228,10 +228,10 @@ $(DIR_O)\ScintRes.res : ScintRes.rc
$(RC) -fo$@ $**
$(COMPONENT): $(SOBJS) $(DIR_O)\ScintRes.res
- $(LD) $(LDFLAGS) -DLL -OUT:$@ $** $(LIBS)
+ $(LD) $(LDFLAGS) -DEF:Scintilla.def -DLL -OUT:$@ $** $(LIBS)
$(LEXCOMPONENT): $(LOBJS) $(DIR_O)\ScintRes.res
- $(LD) $(LDFLAGS) -DLL -OUT:$@ $** $(LIBS)
+ $(LD) $(LDFLAGS) -DEF:Scintilla.def -DLL -OUT:$@ $** $(LIBS)
$(LEXLIB): $(LEXOBJS)
LIB /OUT:$@ $(LEXOBJS)