[Doxygen-develop] PATCH: Cygwin port
Brought to you by:
dimitri
From: Warren Y. <wa...@et...> - 2008-05-09 02:59:14
|
The following one-line change allows the current version of Doxygen to build on Cygwin. --- origsrc/doxygen-1.5.5/tmake/lib/linux-g++/tmake.conf +++ src/doxygen-1.5.5/tmake/lib/linux-g++/tmake.conf @@ -42,7 +42,7 @@ TMAKE_LFLAGS_SHLIB = -shared TMAKE_LFLAGS_SONAME = -Wl,-soname, -TMAKE_LIBS = +TMAKE_LIBS = -liconv TMAKE_LIBS_X11 = -lXext -lX11 -lm TMAKE_LIBS_X11SM = -lICE -lSM TMAKE_LIBS_QT = -lqt It shouldn't be applied to the top-level Doxygen sources, because libiconv doesn't actually exist for Linux. (iconv() is in glibc. It's separate on Cygwin because Cygwin uses a different Standard C library, which doesn't include iconv().) Instead, we need a 'cygwin-g++' build configuration. Such a thing already exists in the top-level tmake distribution. It seems to be identical to linux-g++, currently, so essentially the same patch applies. I don't think this patch needs to be applied to tmake itself, since not all tmake users will need this. Besides, tmake seems moribund. |