Strip internal SourcePawn dependencies on SM relative paths.
This commit is contained in:
parent
23ac0b4637
commit
6f1eefbdbe
@ -44,9 +44,8 @@ compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'public'),
|
||||
os.path.join(builder.sourcePath, 'public', 'amtl'),
|
||||
os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'compiler'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'include'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'third_party'),
|
||||
os.path.join(builder.currentSourcePath, '..', 'include'),
|
||||
os.path.join(builder.currentSourcePath, '..', 'third_party'),
|
||||
os.path.join(builder.buildPath, 'includes'),
|
||||
os.path.join(builder.buildPath, builder.buildFolder),
|
||||
]
|
||||
|
@ -31,7 +31,7 @@
|
||||
#define __FreeBSD__
|
||||
#endif
|
||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
||||
#include <sclinux.h>
|
||||
#include "sclinux.h"
|
||||
#endif
|
||||
|
||||
#if defined HAVE_STDINT_H
|
||||
|
@ -37,8 +37,8 @@
|
||||
#endif
|
||||
|
||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__ || defined DARWIN
|
||||
#include <sclinux.h>
|
||||
#include <binreloc.h> /* from BinReloc, see www.autopackage.org */
|
||||
#include "sclinux.h"
|
||||
#include "binreloc.h" /* from BinReloc, see www.autopackage.org */
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "sc.h"
|
||||
#include "tokenbuffer.h"
|
||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
||||
#include <sclinux.h>
|
||||
#include "sclinux.h"
|
||||
#endif
|
||||
#include "sp_symhash.h"
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "sc.h"
|
||||
#include "amxdbg.h"
|
||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
||||
#include <sclinux.h>
|
||||
#include "sclinux.h"
|
||||
#endif
|
||||
#include <am-utility.h>
|
||||
#include <am-string.h>
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include <string.h>
|
||||
#include "sc.h"
|
||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
||||
#include <sclinux.h>
|
||||
#include "sclinux.h"
|
||||
#endif
|
||||
|
||||
#if defined FORTIFY
|
||||
|
@ -3,8 +3,8 @@ import os
|
||||
|
||||
Includes = [
|
||||
os.path.join(SM.mms_root, 'core', 'sourcehook'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'vm'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'third_party'),
|
||||
os.path.join(builder.currentSourcePath),
|
||||
os.path.join(builder.currentSourcePath, '..', 'third_party'),
|
||||
os.path.join(builder.sourcePath, 'public'),
|
||||
os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
|
||||
os.path.join(builder.sourcePath, 'public', 'amtl'),
|
||||
|
Loading…
Reference in New Issue
Block a user