瀏覽代碼

revert https://trac.osgeo.org/grass/changeset/73864, https://trac.osgeo.org/grass/changeset/73865 and https://trac.osgeo.org/grass/changeset/73905

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73921 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 6 年之前
父節點
當前提交
4b7b2f9e9b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/Make/Shlib.make

+ 2 - 2
include/Make/Shlib.make

@@ -8,8 +8,8 @@ LDFLAGS += $(SHLIB_LDFLAGS)
 
 $(SHLIB): $(SHLIB_OBJS)
 	$(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(LIBES) $(EXTRA_LIBS) $(MATHLIB)
-        # unversioned names are supposed to be symlinks, Windows
-        # doesn't have symlinks, so MinGW's "ln" just copies the file
+ifndef MINGW
 	(cd $(ARCH_LIBDIR); ln -f -s $(notdir $@) $(patsubst %.$(GRASS_VERSION_NUMBER)$(SHLIB_SUFFIX),%$(SHLIB_SUFFIX),$@))
+endif
 
 shlib: $(SHLIB)