IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8875


Ignore:
Timestamp:
Sep 21, 2006, 3:51:42 PM (20 years ago)
Author:
jhoblitt
Message:

include PTHREAD_CFLAGS in PSLIB_LIBS as well so linking works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r8870 r8875  
    122122
    123123PSLIB_CFLAGS="${PSLIB_CFLAGS=} ${PTHREAD_CFLAGS}"
    124 PSLIB_LIBS="${PSLIB_LIBS=} ${PTHREAD_LIBS}"
     124dnl PTHREAD_CFLAGS /must/ also be used in the linking of an exe.  Without
     125dnl adding PTHREAD_CFLAGS into PSLIB_LIBS we can't link exes on Linux.
     126dnl Basically this means the entire method of only linking psLib's deps in the
     127dnl final exe or library is flawed.
     128PSLIB_LIBS="${PSLIB_LIBS=} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
    125129
    126130dnl ----------------- MYSQL options --------------------
Note: See TracChangeset for help on using the changeset viewer.