Overview
Comment: | Add support for -rpath to objfw-config. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
94badde6c7007cbc62d8729bd205f26c |
User & Date: | js on 2009-06-03 19:36:35 |
Other Links: | manifest | tags |
Context
2009-06-03
| ||
19:38 | Don't add PLUGIN_LDFLAGS to LDFLAGS, the buildsys handles this. check-in: 7f048e87dc user: js tags: trunk | |
19:36 | Add support for -rpath to objfw-config. check-in: 94badde6c7 user: js tags: trunk | |
19:36 | Update buildsys to latest rev. check-in: 48f9a9004e user: js tags: trunk | |
Changes
Modified objfw-config.in from [41e333e8ef] to [81d677b4d5].
1 2 3 4 5 6 7 8 | #!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" CFLAGS="" CPPFLAGS="-I@includedir@/objfw @ENDIANESS_DEF@ @ASPRINTF_DEF@ @OFPLUGIN_DEF@" CXXFLAGS="" OBJCFLAGS="-fobjc-exceptions -fconstant-string-class=OFConstString" OBJCFLAGS="$OBJCFLAGS @NO_CONST_CFSTRINGS@" | > > | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | #!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" CFLAGS="" CPPFLAGS="-I@includedir@/objfw @ENDIANESS_DEF@ @ASPRINTF_DEF@ @OFPLUGIN_DEF@" CXXFLAGS="" OBJCFLAGS="-fobjc-exceptions -fconstant-string-class=OFConstString" OBJCFLAGS="$OBJCFLAGS @NO_CONST_CFSTRINGS@" LDFLAGS="@RPATH_LDFLAGS@" LIBS="-L${libdir} -lobjfw @LIBS@" VERSION="0.1" show_help() { echo "$0: Available arguments are:" echo echo " --all Outputs all flags + libs" echo " --cflags Outputs the required CFLAGS" echo " --cppflags Outputs the required CPPFLAGS" echo " --cxxflags Outputs the required CXXFLAGS" echo " --objcflags Outputs the required OBJCFLAGS" echo " --ldflags Outputs the required LDFLAGS" echo " --libs Outputs the required LIBS" echo " --version Outputs the installed version" echo exit 0 } test -z "$1" && show_help while test ! -z "$1"; do case "$1" in --all) echo "$CFLAGS" echo "$CPPFLAGS" echo "$CXXFLAGS" echo "$OBJCFLAGS" echo "$LDFLAGS" echo "$LIBS" ;; --cflags) echo "$CFLAGS" ;; --cppflags) echo "$CPPFLAGS" ;; --cxxflags) echo "$CXXFLAGS" ;; --objcflags) echo "$OBJCFLAGS" ;; --libs) echo "$LIBS" ;; --ldflags) echo "$LDFLAGS" ;; --version) echo "$VERSION" ;; *) echo "Invalid option: $1" >/dev/stderr exit 1 ;; esac shift done |