From: Kern Sibbald Date: Sat, 12 Jul 2008 18:37:04 +0000 (+0000) Subject: Make make_def work at several directory levels X-Git-Tag: Release-2.4.2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d21d6b5a41bbea232617c16e89875dcc6b7042c;p=bacula%2Fbacula Make make_def work at several directory levels git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7365 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/win32/dll/make_def b/bacula/src/win32/dll/make_def index 1e6f884d0d..850ebb3e3a 100755 --- a/bacula/src/win32/dll/make_def +++ b/bacula/src/win32/dll/make_def @@ -6,7 +6,11 @@ # Kern Sibbald, June 2007 # -NM=../../../../../cross-tools/mingw32/mingw32/bin/nm +if test -f ../../../../../cross-tools/mingw32/mingw32/bin/nm; then + NM=../../../../../cross-tools/mingw32/mingw32/bin/nm +else + NM=../../../../cross-tools/mingw32/mingw32/bin/nm +fi echo "LIBRARY bacula.dll" echo "EXPORTS"