libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting filenames for libraries


From: Roumen Petrov
Subject: Re: Getting filenames for libraries
Date: Wed, 10 Dec 2008 00:10:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081114 SeaMonkey/1.1.13

Jason Curl wrote:
Brian Dessent wrote:
Jason Curl wrote:

[SNIP]

I've attached a sample of the macros if there are comments.

e.g.
configure.ac (only the interesting bits)
[SNIP]
LX_PROG_RC
use AC_LIBTOOL_RC

AC_CONFIG_FILES([src/rsrc.rc])

Makefile.am
[SNIP]
.rc.lo:
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=CC --mode=compile $(RC) $(RCFLAGS) $< -o $@

after AC_LIBTOOL_RC in configure you may use .. --tag=RC $(RC) ..

[SNIP]

  windows)
    major=`expr $current - $age`
    versuffix="-$major"
    ;;
In case of "make LDFLAGS=-avoid-version" versuffix has to be "" !

[SNIP]
Roumen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]