Commit 2740b2b3 authored by unknown's avatar unknown

mysql.spec.sh:

  Use "./libtool --mode=execute" to find real path to executables


support-files/mysql.spec.sh:
  Use "./libtool --mode=execute" to find real path to executables
parent 01c039f4
...@@ -318,16 +318,11 @@ fi ...@@ -318,16 +318,11 @@ fi
make -i test-force || true make -i test-force || true
# Save mysqld-max # Save mysqld-max
# check if mysqld was installed in .libs/ ./libtool --mode=execute cp sql/mysqld sql/mysqld-max
if test -f sql/.libs/mysqld ./libtool --mode=execute nm --numeric-sort sql/mysqld-max > sql/mysqld-max.sym
then
cp sql/.libs/mysqld sql/mysqld-max
else
cp sql/mysqld sql/mysqld-max
fi
nm --numeric-sort sql/mysqld-max > sql/mysqld-max.sym
# Save the perror binary so it supports the NDB error codes (BUG#13740) # Save the perror binary so it supports the NDB error codes (BUG#13740)
mv extra/perror extra/perror.ndb ./libtool --mode=execute cp extra/perror extra/perror.ndb
# Install the ndb binaries # Install the ndb binaries
(cd ndb; make install DESTDIR=$RBR) (cd ndb; make install DESTDIR=$RBR)
...@@ -373,12 +368,8 @@ BuildMySQL "--disable-shared \ ...@@ -373,12 +368,8 @@ BuildMySQL "--disable-shared \
--with-innodb \ --with-innodb \
--without-vio \ --without-vio \
--without-openssl" --without-openssl"
if test -f sql/.libs/mysqld
then ./libtool --mode=execute nm --numeric-sort sql/mysqld > sql/mysqld.sym
nm --numeric-sort sql/.libs/mysqld > sql/mysqld.sym
else
nm --numeric-sort sql/mysqld > sql/mysqld.sym
fi
# We might want to save the config log file # We might want to save the config log file
if test -n "$MYSQL_CONFLOG_DEST" if test -n "$MYSQL_CONFLOG_DEST"
...@@ -717,6 +708,11 @@ fi ...@@ -717,6 +708,11 @@ fi
# itself - note that they must be ordered by date (important when # itself - note that they must be ordered by date (important when
# merging BK trees) # merging BK trees)
%changelog %changelog
* Mon May 01 2006 Kent Boortz <kent@mysql.com>
- Use "./libtool --mode=execute" instead of searching for the
executable in current directory and ".libs".
* Sat Apr 01 2006 Kent Boortz <kent@mysql.com> * Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS - Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment