Ticket #42088: patch-MakefileConfig.mk.diff

File patch-MakefileConfig.mk.diff, 746 bytes (added by mojca (Mojca Miklavec), 11 years ago)
  • source/generic/pgf/c/config/MakefileConfig.mk

    old new  
    11
    22# Where Lua is installed
    3 LUAPATH=/usr/local/lua52
     3LUAPATH=@@PREFIX@@
    44
    55LUAINCLUDES = $(LUAPATH)/include
    66LUALIBPATH = $(LUAPATH)/lib
    INSTALLDIR=/usr/texbin/lib/luatex/lua 
    2222
    2323
    2424# If you need special flags:
    25 MYCFLAGS=
    26 MYLDFLAGS=
     25MYCFLAGS=@@CFLAGS@@
     26MYLDFLAGS=@@LDFLAGS@@
    2727
    2828# Link flags for building a shared library
    29 SHAREDFLAGS=
     29SHAREDFLAGS=-shared
    3030
    3131# Link flags for linking against the shared Lua lib
    3232LINKSHAREDLUA=
    3333
    3434# Architecture flags:
    35 ARCHFLAGS=
     35ARCHFLAGS=@@ARCHFLAGS@@
    3636
    3737# The to-be-used compiler
    38 CC=gcc
     38CC=@@CC@@
    3939
    4040
    4141# Now read local definition, which may overwrite the above