2008-08-08 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* bin/hb-mkslib.sh
     + Added $(L_USR) to Darwin dynamic lib creation command line.

   * config/darwin/gcc.cf
     * Changed '-o ' to a more robust expression.
This commit is contained in:
Viktor Szakats
2008-08-08 16:30:27 +00:00
parent 36d09bf5aa
commit 70b5fc6817
3 changed files with 10 additions and 2 deletions

View File

@@ -8,6 +8,13 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-08-08 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkslib.sh
+ Added $(L_USR) to Darwin dynamic lib creation command line.
* config/darwin/gcc.cf
* Changed '-o ' to a more robust expression.
2008-08-08 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbsqlit3/sqlite3/sqlite3.c
! Pacified one OSX GCC unused var warning.

View File

@@ -119,7 +119,7 @@ if [ "${SLIB_EXT}" = ".dylib" ]; then
${CCPREFIX}gcc -dynamiclib -install_name "${BASE}.${MAJOR}${SLIB_EXT}" \
-compatibility_version ${MAJOR}.${MINOR} -current_version ${VERSION} \
-flat_namespace -undefined warning -multiply_defined suppress -single_module \
-o "${FULLNAME}" "${FULLNAME}.o" ${linker_options} && \
-o "${FULLNAME}" "${FULLNAME}.o" ${linker_options} ${L_USR} && \
cd "${dir}" && \
mv -f "${OTMPDIR}/${FULLNAME}" "${DSTDIR}${FULLNAME}" && \
ln -sf "${FULLNAME}" "${DSTDIR}${BASE}.${MAJOR}${SLIB_EXT}" && \

View File

@@ -14,7 +14,8 @@ LIB_EXT = .a
CC = $(CCACHE) cc
CC_IN = -c
# NOTE: The ending space after -o is important, please preserve it.
CC_OUT = -o
# Now solved with '$(subst x,x, )' expression.
CC_OUT = -o$(subst x,x, )
# -no-cpp-precomp prevents from using buggy precompiled headers
CPPFLAGS = -no-cpp-precomp -I. -I$(TOP)include -I$(HB_INC_COMPILE)