Changeset 756


Ignore:
Timestamp:
May 11, 2006 1:27:37 PM (13 years ago)
Author:
andreasw
Message:

added -rpath flag when building clp_solver

Location:
trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/Makefile.am

    r755 r756  
    8484        $(COINBASEOBJDIR)/src/libCoinBase.la
    8585
    86 # And finally we add all missing libraries.  ADDLIBS is set bu configure to
    87 # include all libraries that are determined to be necessary (such as -lgz)
    88 LIBS += $(ADDLIBS) `cat $(COINBASEOBJDIR)/coinbase_addlibs.txt`
     86# And finally we add all missing libraries.  ADDLIBS is set by configure to
     87# include all libraries that are determined to be necessary (such as -lgz).
     88# We also need to list the additional libraries for the other COIN libraries
     89# used.  Finally, the -rpath flag is used by libtool to make sure that
     90# the shared library is found (in the lib install directory) when we are
     91# using dynamic libraries.
     92clp_solver_LDFLAGS = $(ADDLIBS) `cat $(COINBASEOBJDIR)/coinbase_addlibs.txt` \
     93        -rpath $(libdir)
    8994
    9095########################################################################
     
    164169CLEANFILES = bla.tmp
    165170
    166 DISTCLEANFILES = $(CONFIG_DIST)
     171DISTCLEANFILES = ../inc/$(CONFIG_DIST)
  • trunk/Clp/src/Makefile.in

    r755 r756  
    181181LDFLAGS = @LDFLAGS@
    182182LIBOBJS = @LIBOBJS@
    183 
    184 # And finally we add all missing libraries.  ADDLIBS is set bu configure to
    185 # include all libraries that are determined to be necessary (such as -lgz)
    186 LIBS = @LIBS@ $(ADDLIBS) `cat $(COINBASEOBJDIR)/coinbase_addlibs.txt`
     183LIBS = @LIBS@
    187184LIBTOOL = @LIBTOOL@
    188185LIBTOOLM4 = @LIBTOOLM4@
     
    327324        $(COINBASEOBJDIR)/src/libCoinBase.la
    328325
     326clp_solver_LDFLAGS = $(ADDLIBS) `cat $(COINBASEOBJDIR)/coinbase_addlibs.txt` \
     327        -rpath $(libdir)
     328
    329329
    330330########################################################################
     
    372372nodist_include_HEADERS = ../inc/$(CONFIG_DIST)
    373373CLEANFILES = bla.tmp
    374 DISTCLEANFILES = $(CONFIG_DIST)
     374DISTCLEANFILES = ../inc/$(CONFIG_DIST)
    375375all: all-am
    376376
Note: See TracChangeset for help on using the changeset viewer.