|
|
| |
# some quick touches to the Makefile, bump the version | # some quick touches to the Makefile, bump the version |
# and make use of our CFLAGS | # and make use of our CFLAGS |
GTHREAD_LDFLAGS="$(pkg-config gthread-2.0 --libs)" |
GTHREAD_LDFLAGS=$(echo "$(pkg-config gthread-2.0 --libs)" | sed 's|/|\\/|g') |
sed -e "/CFLAGS/s/-g/${CFLAGS} -fPIC/" \ | sed -e "/CFLAGS/s/-g/${CFLAGS} -fPIC/" \ |
-e "s/^LDFLAGS_PRE =/LDFLAGS_PRE = ${GTHREAD_LDFLAGS}/" \ | -e "s/^LDFLAGS_PRE =/LDFLAGS_PRE = ${GTHREAD_LDFLAGS}/" \ |
-i Makefile | -i Makefile |