Skip to content

Commit

Permalink
BUILD: Link the engines into the main instead of into libengines.la
Browse files Browse the repository at this point in the history
Now that the cyclic dependency is gone, the engines do not need to be
needlessly copied into libengines.la anymore. Instead, the can be
linked in directly with the main xoreos binary.

This cuts down on 400MB of (unstripped) object copies, which would
have been just written and immediately read again.
  • Loading branch information
DrMcCoy committed Oct 16, 2016
1 parent e0b083b commit 6ca0967
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/engines/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ src_engines_libengines_la_SOURCES += \
$(EMPTY)

src_engines_libengines_la_LIBADD = \
src/engines/dragonage2/libdragonage2.la \
src/engines/dragonage/libdragonage.la \
src/engines/sonic/libsonic.la \
src/engines/witcher/libwitcher.la \
src/engines/jade/libjade.la \
src/engines/kotor2/libkotor2.la \
src/engines/kotor/libkotor.la \
src/engines/nwn2/libnwn2.la \
src/engines/nwn/libnwn.la \
src/engines/aurora/libaurora.la \
$(EMPTY)

Expand Down
9 changes: 9 additions & 0 deletions src/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ src_xoreos_SOURCES += dists/win32/xoreos.rc
endif

src_xoreos_LDADD = \
src/engines/dragonage2/libdragonage2.la \
src/engines/dragonage/libdragonage.la \
src/engines/sonic/libsonic.la \
src/engines/witcher/libwitcher.la \
src/engines/jade/libjade.la \
src/engines/kotor2/libkotor2.la \
src/engines/kotor/libkotor.la \
src/engines/nwn2/libnwn2.la \
src/engines/nwn/libnwn.la \
src/engines/libengines.la \
src/events/libevents.la \
src/video/libvideo.la \
Expand Down

0 comments on commit 6ca0967

Please sign in to comment.