If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Make doesn't look for -lfoo dependencies in the Android NDK directory

ASSIGNED
Assigned to

Status

Fennec Graveyard
General
ASSIGNED
7 years ago
5 years ago

People

(Reporter: pcwalton, Assigned: pcwalton)

Tracking

(Blocks: 1 bug)

Trunk
All
Mac OS X

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
Created attachment 517477 [details] [diff] [review]
Proposed patch.

According to the GNU Make documentation [1], make searches for -lfoo dependencies in VPATH. VPATH doesn't seem to be set to the Android library directory when doing Fennec builds, so it searches only /usr/lib/. This breaks my build because it's looking for /usr/lib/libz.so, but on Mac it's /usr/lib/libz.dylib.

[1]: http://www.gnu.org/software/automake/manual/make/Libraries_002fSearch.html
(Assignee)

Updated

7 years ago
Assignee: nobody → pwalton
(Assignee)

Updated

7 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

7 years ago
Attachment #517477 - Attachment is patch: true
Attachment #517477 - Attachment mime type: application/octet-stream → text/plain
Duplicate of this bug: 641266
Blocks: 641265

Comment 2

6 years ago
fwiw this patch worked for me as well.
You need to log in before you can comment on or make changes to this bug.