Skip to content

Commit

Permalink
Merge pull request #326 from ivan-mogilko/patch-linux-makefile
Browse files Browse the repository at this point in the history
Patch Linux makefile
  • Loading branch information
ivan-mogilko committed May 6, 2016
2 parents ffdeaf5 + 1025059 commit 7720342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Engine/Makefile-defs.linux
Expand Up @@ -3,7 +3,7 @@ LIBDIR =
CFLAGS := -O2 -g -fsigned-char -Wfatal-errors -DNDEBUG -DAGS_RUNTIME_PATCH_ALLEGRO -DAGS_HAS_CD_AUDIO -DAGS_CASE_SENSITIVE_FILESYSTEM -DALLEGRO_STATICLINK -DLINUX_VERSION -DDISABLE_MPEG_AUDIO -DBUILTIN_PLUGINS -DRTLD_NEXT $(shell pkg-config --cflags freetype2) $(CFLAGS)
CXXFLAGS := -fno-rtti -Wno-write-strings $(CXXFLAGS)
LIBS := -rdynamic -laldmb -ldumb -Wl,-Bdynamic
LIBS += $(shell pkg-config --libs --static allegro)
LIBS += $(shell pkg-config --libs allegro)
LIBS += $(shell pkg-config --libs x11)
LIBS += $(shell pkg-config --libs ogg)
LIBS += $(shell pkg-config --libs theora)
Expand All @@ -16,7 +16,7 @@ else
endif
LIBS += $(shell pkg-config --libs vorbisfile)
LIBS += $(shell pkg-config --libs freetype2)
LIBS += -lc -lstdc++
LIBS += -ldl -lpthread -lc -lstdc++

ifeq ($(ALLEGRO_MAGIC_DRV), 1)
CFLAGS += -DALLEGRO_MAGIC_DRV
Expand Down
4 changes: 2 additions & 2 deletions debian/README.md
Expand Up @@ -47,7 +47,7 @@ Download the sources with git and change into the **ags** directory:
Build the package and install it with gdebi:

fakeroot debian/rules binary
sudo gdebi ../ags_3.30.0-1_*.deb
sudo gdebi ../ags_3~git-1_*.deb

#Using the engine
To start an AGS game, just run ags with the game directory or the game
Expand Down Expand Up @@ -165,4 +165,4 @@ Build the package with pbuilder and install it and its dependencies with gdebi:

cd ags
pdebuild
sudo gdebi /var/cache/pbuilder/result/ags_3.30.0-1_i386.deb
sudo gdebi /var/cache/pbuilder/result/ags_3~git-1_i386.deb

0 comments on commit 7720342

Please sign in to comment.