[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-pkg-config
Subject:    pkg-config options reordering
From:       Max Khardin <max.khardin () gmail ! com>
Date:       2011-03-28 11:32:03
Message-ID: AANLkTim6RTrN8d35KJwswRhDO0DiwpYBD-wMBmYW1wZS () mail ! gmail ! com
[Download RAW message or body]

Hi, i've got blas.pc which has following contents:

prefix=/opt/intel/composerxe-2011.2.137/mkl
libdir=${prefix}/lib/ia32/
includedir=${prefix}/include
Name: mkl-sequential
Description: Intel Math Kernel Library: linear algebra, fft, math functions
Version: 10.3.2.137
URL: http://software.intel.com/en-us/articles/intel-mkl/
Libs: -L${libdir} -Wl,--start-group  -lmkl_core -lmkl_intel
-lmkl_sequential -Wl,--end-group -pthread
Cflags: -I${includedir}

Problem is, if I call pkg-config --libs blas, I get the following:
-Wl,--start-group -Wl,--end-group -pthread
-L/opt/intel/composerxe-2011.2.137/mkl/lib/ia32/ -lmkl_core
-lmkl_intel -lmkl_sequential

Question is, is this a bug or this is intended behavior?
_______________________________________________
pkg-config mailing list
pkg-config@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pkg-config
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic