gl/.gitignore
author J. Ali Harlow <ali@juiblex.co.uk>
Fri Oct 03 15:05:33 2014 +0100 (2014-10-03)
changeset 453 1fd1d221092d
parent 438 fab0b8a61dcb
permissions -rw-r--r--
Add INTLLIBS back into librazor_la_LIBADD and also into razor.pc

INTLLIBS was originally added into librazor_la_LIBADD (but not razor.pc)
in 611c84a3f4b4538a65d186050608c17adbf17770 and then removed in
236cfc8ecc5c66288e41bf9b72051a3b18326e1c over concerns that it meant
that building static applications (eg., in plover) required a static
version of libintl. Since then, however, the inclusion of gnulib's
getopt has caused the build to fail without INTLLIBS in librazor_la_LIBADD
with messages of the form:

../gl/.libs/libgnu.a(getopt.o): In function `_getopt_internal_r':
/home/ali/wk/razor/vpath/gl/../../working/gl/getopt.c:808: undefined reference to `libintl_gettext'

while building librazor.dll.a

Thus it appears that INTLLIBS really is needed and should go back into
librazor_la_LIBADD (which fixes the build) and should also be in Libs.private
in razor.pc for static builds. This means that a static version of libintl
will be required (eg., as part of mingw64-gettext-static).

Along the way, razor.pc has also been fixed to avoid overlinking
(https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging)
and a missing include directory that caused the razor executable to
fail to build was added.
     1 .deps
     2 /Makefile.am
     3 /alloca.c
     4 /alloca.in.h
     5 /dummy.c
     6 /fnmatch.c
     7 /fnmatch.in.h
     8 /fnmatch_loop.c
     9 /stdbool.in.h
    10 /wchar.in.h
    11 /wctype.in.h
    12 /basename.c
    13 /dirname.c
    14 /dirname.h
    15 /errno.in.h
    16 /error.c
    17 /error.h
    18 /exitfail.c
    19 /exitfail.h
    20 /gettext.h
    21 /intprops.h
    22 /mkdir.c
    23 /stdlib.in.h
    24 /strerror.c
    25 /string.in.h
    26 /stripslash.c
    27 /strndup.c
    28 /strnlen.c
    29 /sys_stat.in.h
    30 /unistd.in.h
    31 /xalloc-die.c
    32 /xalloc.h
    33 /xmalloc.c
    34 /xstrndup.c
    35 /xstrndup.h
    36 /fsync.c
    37 /basename-lgpl.c
    38 /config.charset
    39 /dirname-lgpl.c
    40 /localcharset.c
    41 /localcharset.h
    42 /malloc.c
    43 /mbrtowc.c
    44 /mbsinit.c
    45 /mbsrtowcs-state.c
    46 /mbsrtowcs.c
    47 /memchr.c
    48 /memchr.valgrind
    49 /ref-add.sin
    50 /ref-del.sin
    51 /stddef.in.h
    52 /stdint.in.h
    53 /streq.h
    54 /strnlen1.c
    55 /strnlen1.h
    56 /time.in.h
    57 /verify.h
    58 /dosname.h
    59 /mbsrtowcs-impl.h
    60 /gettimeofday.c
    61 /lstat.c
    62 /mkdtemp.c
    63 /stat.c
    64 /sys_time.in.h
    65 /tempname.c
    66 /tempname.h
    67 /fcntl.in.h
    68 /msvc-inval.c
    69 /msvc-inval.h
    70 /msvc-nothrow.c
    71 /msvc-nothrow.h
    72 /pathmax.h
    73 /secure_getenv.c
    74 /sys_types.in.h
    75 /unistd.c
    76 /wctype-h.c
    77 /getopt.c
    78 /getopt.in.h
    79 /getopt1.c
    80 /getopt_int.h