use install_name_tool so that samples use uninstalled shared libs on OSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-10 16:38:38 +00:00
parent ab48b97b56
commit ef0add05f1
5 changed files with 42 additions and 22 deletions

View File

@@ -39,10 +39,16 @@
</template>
<template id="wx_sample" template="wx_util">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<if cond="FORMAT=='autoconf'">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<__command>$(LF)$(SAMPLES_RPATH_POSTLINK)</__command>
</if>
</template>
<template id="wx_sample_console" template="wx_util_console">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<if cond="FORMAT=='autoconf'">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<__command>$(SAMPLES_RPATH_POSTLINK)</__command>
</if>
</template>