From 18fe0730c2757464f19636737a83fe65a26e3a1b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 17 Mar 2015 03:17:58 +0100 Subject: added PDCURSES_LIBS ./configure variable to overwrite the check for PDCurses * allows us to link against PDCurses/win32a statically. It requires additional Windows DLLs (gdi32 and comdlg32) and since there's no PDCurses configuration mechanism, it is easiest to set the PDCurses linker flags using a PDCURSES_LIBS env variable. * This is only possible since Scintilla links statically, we do the linking of the binary and can provide the linker flags. It is still not possible to overwrite the CFLAGS used for PDCurses without modifying the Scinterm Makefile. * Using PDCURSES_LIBS we can get rid of --with-interface=emcurses since if library checks fail with EMscripten, we can simply define PDCURSES_LIBS="-lpdcurses" --- distribute | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'distribute') diff --git a/distribute b/distribute index af05550..c4406f3 100755 --- a/distribute +++ b/distribute @@ -73,6 +73,10 @@ ppa : debian-source # which is required by the glib spawn functions. # If we ever build a non-console version on Windows, # we should include gspawn-win32-helper.exe instead. +# +# When linking in PDCurses/win32a statically, the +# environment variable PDCURSES_LIBS should be set to +# "-lpdcurses -lgdi32 -lcomdlg32" MINGW_UI=pdcurses mingw-binary : sciteco-$(SCITECO_VERSION)-win32.zip -- cgit v1.2.3