Skip to content

Commit

Permalink
dll
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4740 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 24, 2006
1 parent 10c7def commit 08bcde7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/plugins/grass/Makefile.win
@@ -1,7 +1,5 @@
QGTOP=../../../

LDADD = ../../providers/grass/.libs/libqgisgrass.a $(PLUGIN_LIBS) $(GRASS_LIB)

OBJECTS = $(wildcard *.o)

PLUGIN = .libs/grassplugin.dll
Expand All @@ -12,9 +10,18 @@ objects:
$(MAKE) -f Makefile

$(PLUGIN): $(OBJECTS)
$(CXX) -shared -o $@ $(OBJECTS) $(LDADD)
$(CXX) -shared -o $@ \
-Wl,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--whole-archive $(OBJECTS) \
-Wl,--no-whole-archive \
-L ../../providers/grass/.libs/ -lqgis_grass \
$(PLUGIN_LIBS) \
$(GRASS_LIB)
$(STRIP) $@

# ../../providers/grass/.libs/libqgisgrass.a \

install: all
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/grassplugin.dll

Expand Down

0 comments on commit 08bcde7

Please sign in to comment.