Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Afanasyev 728205fe3c Change with shared library compatibility version handling
For ELF binaries (e.g., Linux): default compatible version (SONAME =
`<library-name>.so.<MAJOR>`) can be specialized using additional `cnum`
parameter to `<library-name>.so.<MAJOR>.<MINOR>` or
`<library-name>.so.<MAJOR>.<MINOR>.<PATCH>`.

For Mach-O binaries (e.g., OS X):

- (bugfix) install-name points to compatible version (not absolute path
  to a non-versioned library)
- Default install-name `<install-path>/<library-name>.<MAJOR>.dylib` can
  be specialized using `cnum` parameter to
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.dylib` or
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.<PATCH>.dylib`
- `-Wl,-compatibility_version` and `-Wl,-current_version` flags use
  version from cnum/vnum (default cnum is vnum.split('.')[0])
2015-06-05 17:27:32 -07:00
Thomas Nagy f048d6d20f
Do not duplicate flags from the OS environment - https://github.com/waf-project/waf/issues/1574 2015-05-16 14:26:43 +02:00
Thomas Nagy 924f8bbce8
Inserting LDFLAGS at the end of the command-line causes less overhead than expected, and LINKFLAGS can still be used for flags in the beginning of the line 2015-04-22 21:34:45 +02:00
Jérôme Carretero 33a60e79e7 treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
Thomas Nagy 90b491e834 moved the parser function definition out of the while loop 2013-09-30 00:05:36 +02:00
Alexander Afanasyev b059ce784d Correcting Darwin compilation
gcc, gxx, and fc_config for Darwin platform were specifying
-compatibility_version and -current_version compilation flags.  These
flags are actually are link flags and generate warnings by clang
compiler.

Also, these flags were specified in non-standard way, which was
confusing clang compiler.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-04-28 10:11:17 +02:00
Thomas Nagy 49ce7a489e add the FCFLAGS from the os environ 2012-05-09 00:35:24 +02:00
Thomas Nagy b5bb54ede7 remove more except: lines 2012-02-11 14:49:27 +01:00
Thomas Nagy 4404d9062c cleanup 2012-02-06 02:13:25 +01:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Thomas Nagy d3d4e2626c #1063 2011-10-27 01:02:58 +02:00
Thomas Nagy 3f0b96ee7a #1063 2011-10-26 22:09:30 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00