steven
84737a0d1c
clean up a bit, and save some time
2009-10-15 15:20:34 +00:00
steven
de328a6e74
better regex
2009-10-15 13:48:11 +00:00
steven
3628fb6ff2
try to cope with people passing /path/libfoo.so.X.Y instead of -lfoo
...
if a static library has been found, don't search for it again.
2009-10-15 13:46:23 +00:00
steven
3197dd1add
no need for fiddling with deplibs again here
2009-10-15 11:26:08 +00:00
steven
90acfab4e5
revert some of the previous; we need this to deal with convenience libs
2009-10-15 11:16:10 +00:00
phessler
3c719e581d
allow us to run make update-patches
when WRKDIST has spaces in it.
...
OK espie@
2009-10-15 10:48:05 +00:00
steven
d514f1eb1d
remove unneeded extract_archive function
2009-10-15 09:39:45 +00:00
steven
7b6089698d
cleanup; this seems to work better
2009-10-14 22:03:16 +00:00
steven
1adbca4d86
shut up if not in debug mode
2009-10-14 18:22:03 +00:00
steven
24132ef048
use find method here as well, as the object data might not have been filled
2009-10-14 16:03:02 +00:00
steven
869d85c921
make guess_implicit_mode work again
2009-10-14 14:28:22 +00:00
steven
dd74eb33f1
register directory where static lib can be found
...
add missing newline
2009-10-14 14:14:21 +00:00
steven
cb183eb8c6
run find unconditionally
2009-10-14 14:05:33 +00:00
steven
fa7822ef2f
sigh, install programs do not always take options
2009-10-14 13:42:41 +00:00
steven
faaa9351fc
if (defined $a) instead of (if $a) for the -release option, as it may be 0
2009-10-14 12:28:44 +00:00
steven
38fc564f05
move some library finding code out of the parser
...
store the .la file path in the library object for later use
fix a bug where we lost some of the command line arguments
this makes more stuff build again and improves static linking
2009-10-14 11:31:50 +00:00
steven
e6877d2f2a
read architecture from the perl configuration
2009-10-14 09:06:17 +00:00
steven
d319580241
some small fixes after previous changes
2009-10-13 23:26:41 +00:00
steven
1499055d06
move find_la subroutine into LaFile package
2009-10-13 21:19:15 +00:00
steven
cfe5f8d02a
make substitution code a bit shorter
2009-10-13 20:56:45 +00:00
steven
ec6069f4f3
- write SHARED_LIBS_LOG file
...
- fix stringize to return 0 instead of empty string if the value is 0
2009-10-13 18:22:57 +00:00
steven
fddecfb227
start at putting library info into an object
2009-10-13 17:11:21 +00:00
steven
553d8c3311
this should work better
2009-10-13 14:23:12 +00:00
steven
1029d10105
restrict scope of a few variables; initialize them in link mode only
2009-10-13 13:55:12 +00:00
steven
5f959feb9a
move all the parsing subroutines from main into a parser class
...
much more moving around is needed
2009-10-13 13:30:31 +00:00
steven
028808fd21
remove another argument here
2009-10-12 19:02:14 +00:00
steven
4c6fbb3538
remove argument when not necessary
2009-10-12 18:31:37 +00:00
steven
fdbf9000c1
move a few lines and add missing argument
2009-10-12 18:14:55 +00:00
steven
f2f622fbaf
more generic way to deal with multiple-argument commands
...
(compiler, linker, install program, etc)
2009-10-12 09:58:22 +00:00
steven
866707f683
avoid undef as reference
2009-10-11 20:50:33 +00:00
steven
16fa453f51
sigh, don't use glob here
2009-10-11 18:58:59 +00:00
steven
5e4c5f1c28
oops
2009-10-11 18:40:03 +00:00
steven
699cd8382e
move some info related to executable into the object
2009-10-11 14:21:56 +00:00
steven
ee45027ef6
allow to link executables statically as well
2009-10-10 09:50:11 +00:00
steven
965b3c75bd
when linking a program, take into account -static flag (not yet supported)
2009-10-09 22:24:56 +00:00
steven
fc74e89c10
be a bit smarter about executable wrapper creation by remembering linking
...
with a .la file which refers to a shared library
this should prevent wrapper files getting installed;
fixes dbus and wml ports, hope it does not break others :)
2009-10-09 21:23:42 +00:00
steven
f31c359143
zap trailing whitespace
2009-08-30 08:40:52 +00:00
sturm
3e2c7f0404
add some code to help find circular dependencies
2009-05-09 07:36:17 +00:00
steven
5793039c06
accept multiple forms of --version-info, adding default values where none
...
are specified (gnu behavior). this fixes math/kst
2009-02-16 22:04:28 +00:00
steven
238f39a692
deal with multiple linker options passed via one -Wl flag
...
fixes gnome/dasher
2009-02-16 21:22:56 +00:00
steven
14807835af
rework logic around library linking, adding so called convenience libraries.
...
fixes build of a few ports, and doesn't seem to break anything else.
2009-02-16 20:02:42 +00:00
steven
b141d06793
parse linkargs after constructing object lists
2008-11-23 09:53:56 +00:00
steven
ae388464a0
small tweak
2008-11-23 08:47:05 +00:00
steven
fe4a14cc4a
somewhat simpler
2008-11-22 10:04:19 +00:00
steven
7f7ea8f9cb
move code a little bit
2008-11-22 09:58:03 +00:00
steven
1dcee94da4
move library linking to LaFile class
2008-11-19 21:11:17 +00:00
steven
2f6600d62f
some trivial cleanup
2008-11-18 22:31:11 +00:00
steven
705208ac57
separate linking of executables into its own class
2008-11-18 22:16:44 +00:00
steven
0d384fb780
- use exec during installation as well
...
- cleaner way to filter -s out of install options
2008-11-16 21:58:17 +00:00
steven
da62d86b3c
make the compiler program a list; fixes a few ports
2008-11-14 22:50:58 +00:00