Skip to content

Commit 4fc89d7

Browse files
committed
link to libopenasip.so even when TCE_DEVEL_MODE=1
1 parent 74dddc3 commit 4fc89d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

openasip/src/base/osal/OperationBuilder.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ OperationBuilder::buildObject(
177177
specific functionality might not import all the symbols
178178
required by the .opb loaded by libopenasip later. */
179179
LDFLAGS += " -L" + Application::installationDir() + "/lib -lopenasip ";
180+
} else {
181+
LDFLAGS += " -L" + string(TCE_SRC_ROOT) + "/src/.libs -lopenasip ";
180182
}
181183

182184
// Add user defined CXXFLAGS + CPPFLAGS to the end because they

testsuite/systemtest_long/qemu-openasip/tcetest_qemu-openasip.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,5 @@ def run_test():
132132
return run_qemu()
133133

134134
if __name__ == "__main__":
135-
SYSTEM_TCE_DEVL_MODE = os.environ.get('TCE_DEVEL_MODE', '')
136-
os.environ['TCE_DEVEL_MODE'] = '0' # averts a linking error that causes the behavior to not load properly
137135
success = run_test()
138-
os.environ['TCE_DEVEL_MODE'] = SYSTEM_TCE_DEVL_MODE
139136
exit(0 if success else 1)

0 commit comments

Comments
 (0)