Am Donnerstag, 5. Mai 2011 schrieb Jean-Marc Lasgouttes:
> Le 05/05/11 15:08, Kornel a écrit :
> > Am Donnerstag, 5. Mai 2011 schrieb Jean-Marc Lasgouttes:
> >  > - building internal LIBINTL does not work. I have a unfinished patch
> >  > for
> >  > 
> >  > this
> > 
> > Could you give me the patch to try? It is not compilable here too.
> > 
> > ...
> 
> Didn't I send it?
> 
> JMarc

You did. Sorry. Compiling now.

Ok, two glitches ...
1.) still  undefined   libintl_hash_string (used in dcigettext.c and 
loadmsgcat.c), but hash-string.c not compiled
...
===================================================================
--- development/cmake/intl/CMakeLists.txt       (Revision 38589)
+++ development/cmake/intl/CMakeLists.txt       (Arbeitskopie)
@@ -44,6 +44,7 @@
        dgettext.c
        gettext.c
        finddomain.c
+       hash-string.c
        loadmsgcat.c
        localealias.c
        textdomain.c
...

2.) The variable LIBINTL_LIBRARIES src/CMakeLists.txt is not defined, possibly 
because libintl/CMakeLists.txt  is not propagating it.

This should be changed in src/CMakeLists.txt
...
--- src/CMakeLists.txt  (Revision 38589)
+++ src/CMakeLists.txt  (Arbeitskopie)
@@ -122,11 +122,14 @@
        frontend_qt4
        graphics
        support
-       ${LIBINTL_LIBRARIES}
        ${ICONV_LIBRARY}
        ${QT_QTMAIN_LIBRARY}
        ${vld_dll})
 
+if(NOT LYX_EXTERNAL_LIBINTL)
+  target_link_libraries(${_lyx} intl)
+endif()
+
 if(HUNSPELL_FOUND)
        target_link_libraries(${_lyx} ${HUNSPELL_LIBRARY})
 endif()
...

Here it binds.

        Kornel


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to