From: Marcus Brinkmann Date: Thu, 20 Oct 2005 19:21:30 +0000 (+0000) Subject: 2005-10-20 Marcus Brinkmann X-Git-Tag: gpgme-1-1-1~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b58d3449071d87a0f953f38c0ae7e2cf9be24bf;p=gpgme.git 2005-10-20 Marcus Brinkmann * Makefile.am: Build versioninfo.lo, not versioninfo.o. Also, fix the whole mess. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 880ec6b..30d2b50 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2005-10-20 Marcus Brinkmann + + * Makefile.am: Build versioninfo.lo, not versioninfo.o. Also, fix + the whole mess. + 2005-10-16 Marcus Brinkmann * rungpg.c (gpg_edit): Don't add a key argument if in card edit diff --git a/gpgme/Makefile.am b/gpgme/Makefile.am index 94b46aa..ece1adf 100644 --- a/gpgme/Makefile.am +++ b/gpgme/Makefile.am @@ -96,21 +96,21 @@ LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \ sed -e 's/-I/--include-dir /g;s/-D/--define /g'` -%.o : %.rc +%.lo : %.rc $(LTRCCOMPILE) -i $< -o $@ -gpgme_res = versioninfo.o -gpgme_res_ldflag = -Wl,$(gpgme_res) +gpgme_res = versioninfo.lo +gpgme_res_ldflag = -Wl,.libs/versioninfo.o no_undefined = -no-undefined export_symbols = -export-symbols $(srcdir)/gpgme.def install-def-file: - $(INSTALL) gpg-error.def $(DESTDIR)$(libdir)/gpgme.def + $(INSTALL) $(srcdir)/gpgme.def $(DESTDIR)$(libdir)/gpgme.def uninstall-def-file: -rm $(DESTDIR)$(libdir)/gpgme.def -libgpgme_la_DEPENDENCIES = $(gpgme_res) gpgme.def +gpgme_deps = $(gpgme_res) gpgme.def else gpgme_res = @@ -120,13 +120,14 @@ export_symbols = install-def-file: uninstall-def-file: +gpgme_deps = endif libgpgme_la_LDFLAGS = $(gpgme_res_ldflag) $(no_undefined) $(export_symbols) \ $(libgpgme_version_script_cmd) -version-info \ @LIBGPGME_LT_CURRENT@:@LIBGPGME_LT_REVISION@:@LIBGPGME_LT_AGE@ libgpgme_la_DEPENDENCIES = libgpgme-real.la $(assuan_libobjs) \ - @LTLIBOBJS@ $(srcdir)/libgpgme.vers + @LTLIBOBJS@ $(srcdir)/libgpgme.vers $(gpgme_deps) libgpgme_la_LIBADD = libgpgme-real.la $(assuan_libobjs) @LTLIBOBJS@ \ @GPG_ERROR_LIBS@