]> git.sur5r.net Git - bacula/bacula/commitdiff
Make make_def work at several directory levels
authorKern Sibbald <kern@sibbald.com>
Sat, 12 Jul 2008 18:37:04 +0000 (18:37 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 12 Jul 2008 18:37:04 +0000 (18:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7365 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/dll/make_def

index 1e6f884d0d9345eaf8a4257ebf94fb30c1d15c0e..850ebb3e3aa25df28c88d5e5cc9e69ab541fa9dd 100755 (executable)
@@ -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"