X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Gm x8DBfabyqE8F3YiZPN5FEID8mE7AY1Aw20JLK66gFzCVRgULSvOuOa2o8osaJsXZ iTXfq2L8QglWlnjfmv11qlzgW9cHMcLAAdt1k6ENc42wZAngEC+nMhmTxWQ9G2Rd Hbg+gmxJSBqkissCokcJgmYh/s4W+hjIvSdOFgUGo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=0F0m/HC9 5a9jOLnKZf7+rXw8poo=; b=wyfKfw1AIIG5PhXTsMjB5lcZ1Hq+0TMPVmqbvx+b Z6WA7hLg1KZieuPoNTOyMyKGQ41HBk+rTCf+bqVn5Fz2x9Hloh3dWJsc9hhpq7tP T1JnVH+cpxuK5hhHF36yMDbCudJcp8nf8NyW6BK5HXZSBXBwV4nPxpvHh+QMdhlK rhw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.14.0.129 with SMTP id 1mr14343156eeb.43.1369197816352; Tue, 21 May 2013 21:43:36 -0700 (PDT) In-Reply-To: <CALgEz7qWEicXk5SQAbYuoiK-7PEeq-HRAJ59Gwt=kVzjKL9RTw@mail.gmail.com> References: <CALgEz7rPZLJmg6nBacALfvdhkRUT5st+hMEciSuQd9y46xRuYQ AT mail DOT gmail DOT com> <CALgEz7qWEicXk5SQAbYuoiK-7PEeq-HRAJ59Gwt=kVzjKL9RTw AT mail DOT gmail DOT com> Date: Tue, 21 May 2013 21:43:36 -0700 Message-ID: <CALgEz7p9EUX5XevA6mGk9c6JN_x0u0Jb1Cswi9-J20TDKvey=Q@mail.gmail.com> Subject: Re: Including full path to shared library in the executable file From: Balaji Venkataraman <balaji DOT s DOT venkataraman AT gmail DOT com> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 21, 2013 at 9:19 PM, Balaji Venkataraman wrote: > My question is whether there is a way to include the full path to the .dll > while creating the .exe - much like how cmake "link_directories" or > "target_link_libraries" allows you to - for e.g. on Linux (an ldd on the > executable file shows the full path to the .so file and thus > precludes the need to explicitly set LD_LIBRARY_PATH). While this is not a > cmake question (or a cmake mailing list) if you have experience solving > this problem using cmake, would appreciate those insights as well. I found this while looking for cygwin RPATH: http://www.cmake.org/pipermail/cmake/2007-October/017267.html. Perhaps the lack of RPATH support on Windows/Cygwin is the reason? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple