Wireshark-bugs: [Wireshark-bugs] [Bug 7926] New: Fix include and libs search path when cross com

Date: Sun, 28 Oct 2012 01:01:12 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7926

           Summary: Fix include and libs search path when cross compiling
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: Linux (other)
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: baruch@xxxxxxxxxx


Created attachment 9438
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9438
Don't add host directories under $prefix to the search paths

Build Information:
TShark 1.8.3 (SVN Rev Unknown from unknown)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GLib 2.30.3, with libpcap, with libz 1.2.7, without
POSIX
capabilities, without SMI, without c-ares, without ADNS, without Lua, without
Python, without GnuTLS, with Gcrypt 1.5.0, without Kerberos, without GeoIP.

Running on Linux 2.6.31, without locale, with libpcap version 1.3.0, with libz
1.2.7.

Built using gcc 4.5.2.

--
The $prefix variable refers to a directory relative to the target root, not the
host one. When doing cross compile the compiler/linker should not add the
compile host include files and libraries to their search paths because this
breaks the build when the library version of the host and target are different.

The attached patch removes the code adding $prefix to search paths from
configure.ac.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.