Skip to content

Commit 06689ea

Browse files
committed
Removed "lib" prefix of core.so and source-python.so
1 parent c743be6 commit 06689ea

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,12 @@ Add_Library(source-python SHARED
401401
${SOURCEPYTHON_LOADER_FILES}
402402
)
403403

404+
# ------------------------------------------------------------------
405+
# Remove prefixes for core and source-python
406+
# ------------------------------------------------------------------
407+
Set_Target_Properties(core PROPERTIES PREFIX "")
408+
Set_Target_Properties(source-python PROPERTIES PREFIX "")
409+
404410
# ------------------------------------------------------------------
405411
# Include the base makefile.
406412
# ------------------------------------------------------------------
@@ -439,4 +445,4 @@ Else()
439445
# Do it the correct way.
440446
Target_Link_Libraries(core ${SOURCEPYTHON_LINK_LIBRARIES_DEBUG})
441447
Target_Link_Libraries(core ${SOURCEPYTHON_LINK_LIBRARIES_RELEASE})
442-
EndIf()
448+
EndIf()

src/makefiles/shared.cmake

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,4 @@ Add_Definitions(
8383
# ------------------------------------------------------------------
8484
# The project.
8585
# ------------------------------------------------------------------
86-
Project(source-python C CXX)
87-
88-
# ------------------------------------------------------------------
89-
# Get rid of the library prefix for all distributions.
90-
# ------------------------------------------------------------------
91-
# Set(CMAKE_SHARED_LIBRARY_PREFIX "")
86+
Project(source-python C CXX)

0 commit comments

Comments
 (0)